aboutsummaryrefslogtreecommitdiffstats
path: root/community/libreoffice/gcc10.patch
blob: 70b7c482a3addb8bfcbae1f59824ec9768a802a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Workaround gcc10 issues such as:

ucbstorage.cxx:(.text+0x645b): undefined reference to `non-virtual thunk to cppu::WeakImplHelper<com::sun::star::io::XInputStream>::acquire()'

--- a/sot/source/sdstor/ucbstorage.cxx	2020-11-16 21:30:57.533122410 +0200
+++ b/sot/source/sdstor/ucbstorage.cxx	2020-11-17 13:16:01.689775499 +0200
@@ -78,6 +78,8 @@
 static int nOpenStreams=0;
 #endif
 
+template class css::uno::Reference < css::io::XInputStream >;
+
 typedef ::cppu::WeakImplHelper < XInputStream, XSeekable > FileInputStreamWrapper_Base;
 class FileStreamWrapper_Impl : public FileInputStreamWrapper_Base
 {
--- a/svtools/source/misc/embedhlp.cxx	2020-11-17 09:31:23.953935644 +0200
+++ b/svtools/source/misc/embedhlp.cxx	2020-11-17 13:11:45.966880354 +0200
@@ -56,6 +56,8 @@
 
 using namespace com::sun::star;
 
+template class uno::Reference< io::XInputStream > ;
+
 namespace svt {
 
 class EmbedEventListener_Impl : public ::cppu::WeakImplHelper < embed::XStateChangeListener,
--- a/svtools/source/misc/imageresourceaccess.cxx	2020-11-17 09:28:32.160139860 +0200
+++ b/svtools/source/misc/imageresourceaccess.cxx	2020-11-17 13:14:32.791086629 +0200
@@ -30,6 +30,8 @@
 #include <unotools/streamwrap.hxx>
 #include <cppuhelper/implbase.hxx>
 
+template class com::sun::star::uno::Reference<com::sun::star::io::XInputStream>;
+
 namespace svt
 {
 namespace GraphicAccess
--- a/filter/source/xsltdialog/xmlfilterjar.cxx	2020-11-17 13:22:40.980553262 +0200
+++ b/filter/source/xsltdialog/xmlfilterjar.cxx	2020-11-17 13:23:14.443393048 +0200
@@ -60,6 +60,8 @@
 
 using ::rtl::Uri;
 
+template class uno::Reference< io::XInputStream > ;
+
 XMLFilterJarHelper::XMLFilterJarHelper( const Reference< XComponentContext >& rxContext )
 : mxContext( rxContext ),
     sVndSunStarPackage( "vnd.sun.star.Package:" ),
--- a/starmath/source/mathmlimport.cxx	2020-11-17 13:25:51.754523993 +0200
+++ b/starmath/source/mathmlimport.cxx	2020-11-17 13:26:20.794148223 +0200
@@ -80,6 +80,8 @@
 using namespace ::com::sun::star;
 using namespace ::xmloff::token;
 
+template class uno::Reference< io::XInputStream > ;
+
 namespace {
 
 std::unique_ptr<SmNode> popOrZero(SmNodeStack& rStack)
--- a/filter/source/msfilter/msdffimp.cxx	2020-11-17 13:24:36.752179106 +0200
+++ b/filter/source/msfilter/msdffimp.cxx	2020-11-17 13:24:53.035283815 +0200
@@ -187,6 +187,8 @@
 using namespace drawing             ;
 using namespace container           ;
 
+template class uno::Reference< io::XInputStream > ;
+
 // static counter for OLE-Objects
 static sal_uInt32 nMSOleObjCntr = 0;
 #define MSO_OLE_Obj "MSO_OLE_Obj"
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx	2020-11-17 13:28:01.622843541 +0200
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx	2020-11-17 13:28:15.432664842 +0200
@@ -54,6 +54,8 @@
 
 using namespace com::sun::star;
 
+template class uno::Reference< io::XInputStream > ;
+
 namespace
 {
 /// Returns an util::DateTime from a 'YYYY. MM. DD.' string.
--- a/sd/source/filter/xml/sdxmlwrp.cxx	2020-11-17 13:30:37.404161089 +0200
+++ b/sd/source/filter/xml/sdxmlwrp.cxx	2020-11-17 13:30:48.510684039 +0200
@@ -83,6 +83,8 @@
 using namespace com::sun::star::document;
 using namespace comphelper;
 
+template class uno::Reference< io::XInputStream > ;
+
 #define SD_XML_READERROR ErrCode(1234)
 
 char const sXML_export_impress_meta_oasis_service[] = "com.sun.star.comp.Impress.XMLOasisMetaExporter";
--- a/sw/source/filter/xml/xmlimp.cxx	2020-11-17 13:32:17.742862736 +0200
+++ b/sw/source/filter/xml/xmlimp.cxx	2020-11-17 13:32:31.046023929 +0200
@@ -104,6 +104,8 @@
 using namespace ::xmloff::token;
 using namespace ::std;
 
+template class uno::Reference< io::XInputStream > ;
+
 enum SwXMLDocTokens
 {
     XML_TOK_DOC_FONTDECLS,
--- a/sc/source/filter/xml/xmlimprt.cxx	2020-11-17 13:34:17.874626656 +0200
+++ b/sc/source/filter/xml/xmlimprt.cxx	2020-11-17 13:34:35.357705884 +0200
@@ -109,6 +109,8 @@
 using namespace ::xmloff::token;
 using namespace ::formula;
 
+template class uno::Reference< io::XInputStream > ;
+
 OUString ScXMLImport_getImplementationName() throw()
 {
     return "com.sun.star.comp.Calc.XMLOasisImporter";
--- a/editeng/source/xml/xmltxtimp.cxx	2020-11-16 22:37:57.296272816 +0200
+++ b/editeng/source/xml/xmltxtimp.cxx	2020-11-16 22:38:19.535978492 +0200
@@ -55,6 +55,7 @@
 using namespace cppu;
 using namespace xmloff::token;
 
+template class ::cppu::WeakImplHelper< css::io::XInputStream >;
 
 class SvxXMLTextImportContext : public SvXMLImportContext
 {