Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 361869 | Differences between
and this patch

Collapse All | Expand All

(-)libreoffice-3.3.2.ebuild (-4 / +5 lines)
Lines 96-103 Link Here
96
ADDONS_SRC+=" http://download.go-oo.org/src/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2"
96
ADDONS_SRC+=" http://download.go-oo.org/src/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2"
97
ADDONS_SRC+=" http://download.go-oo.org/src/0f63ee487fda8f21fafa767b3c447ac9-ixion-0.2.0.tar.gz"
97
ADDONS_SRC+=" http://download.go-oo.org/src/0f63ee487fda8f21fafa767b3c447ac9-ixion-0.2.0.tar.gz"
98
ADDONS_SRC+=" http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll"
98
ADDONS_SRC+=" http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll"
99
ADDONS_SRC+=" http://download.go-oo.org/src/5ff846847dab351604ad859e2fd4ed3c-libwpd-0.9.1.tar.bz2"
100
ADDONS_SRC+=" http://download.go-oo.org/src/5ba6a61a2f66dfd5fee8cdd4cd262a37-libwpg-0.2.0.tar.bz2"
101
ADDONS_SRC+=" http://download.go-oo.org/src/9e436bff44c60dc8b97cba0c7fc11a5c-libwps-0.2.0.tar.bz2"
99
ADDONS_SRC+=" http://download.go-oo.org/src/9e436bff44c60dc8b97cba0c7fc11a5c-libwps-0.2.0.tar.bz2"
102
ADDONS_SRC+=" http://www.numbertext.org/linux/881af2b7dca9b8259abbca00bbbc004d-LinLibertineG-20110101.zip"
100
ADDONS_SRC+=" http://www.numbertext.org/linux/881af2b7dca9b8259abbca00bbbc004d-LinLibertineG-20110101.zip"
103
SRC_URI+=" ${ADDONS_SRC}"
101
SRC_URI+=" ${ADDONS_SRC}"
Lines 155-160 Link Here
155
	>=media-libs/vigra-1.4
153
	>=media-libs/vigra-1.4
156
	media-libs/libpng
154
	media-libs/libpng
157
	>=sys-libs/db-4.3
155
	>=sys-libs/db-4.3
156
	>=media-libs/libwpg-0.2.0
157
	>=app-text/libwpd-0.9.1
158
	virtual/jpeg
158
	virtual/jpeg
159
	>=x11-libs/cairo-1.0.2
159
	>=x11-libs/cairo-1.0.2
160
	x11-libs/libXaw
160
	x11-libs/libXaw
Lines 268-273 Link Here
268
	cp -f "${FILESDIR}/${PN}-3.3-libpng-1.5.diff" "${S}/patches/hotfixes"
268
	cp -f "${FILESDIR}/${PN}-3.3-libpng-1.5.diff" "${S}/patches/hotfixes"
269
	cp -f "${FILESDIR}/${PN}-3.3.1-neon_remove_SSPI_support.diff" "${S}/patches/hotfixes"
269
	cp -f "${FILESDIR}/${PN}-3.3.1-neon_remove_SSPI_support.diff" "${S}/patches/hotfixes"
270
	cp -f "${FILESDIR}/${PN}-libdb5-fix-check.diff" "${S}/patches/hotfixes"
270
	cp -f "${FILESDIR}/${PN}-libdb5-fix-check.diff" "${S}/patches/hotfixes"
271
	cp -f "${FILESDIR}/${PN}-3.3.2-gcc46.diff" "${S}/patches/hotfixes"
271
272
272
	#Use flag checks
273
	#Use flag checks
273
	if use java ; then
274
	if use java ; then
Lines 381-388 Link Here
381
		--disable-access \
382
		--disable-access \
382
		--disable-post-install-scripts \
383
		--disable-post-install-scripts \
383
		$(use_enable java extensions) \
384
		$(use_enable java extensions) \
384
		--without-system-libwpd \
385
		--with-system-libwpd \
385
		--without-system-libwpg \
386
		--with-system-libwpg \
386
		--mandir="${EPREFIX}"/usr/share/man \
387
		--mandir="${EPREFIX}"/usr/share/man \
387
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
388
		--libdir="${EPREFIX}"/usr/$(get_libdir) \
388
		|| die "Configuration failed!"
389
		|| die "Configuration failed!"
(-)files/libreoffice-3.3.2-gcc46.diff (+295 lines)
Added Link Here
1
diff --git basegfx/source/polygon/b2dpolygon.cxx basegfx/source/polygon/b2dpolygon.cxx
2
index f88069b..4e578a9 100644
3
--- basegfx/source/polygon/b2dpolygon.cxx
4
+++ basegfx/source/polygon/b2dpolygon.cxx
5
@@ -257,6 +257,8 @@ class ControlVectorPair2D
6
     basegfx::B2DVector							maNextVector;
7
 
8
 public:
9
+    ControlVectorPair2D() {}
10
+
11
     const basegfx::B2DVector& getPrevVector() const 
12
     { 
13
         return maPrevVector; 
14
diff --git basegfx/source/polygon/b2dsvgpolypolygon.cxx basegfx/source/polygon/b2dsvgpolypolygon.cxx
15
index 7f5ed07..51b8740 100644
16
--- basegfx/source/polygon/b2dsvgpolypolygon.cxx
17
+++ basegfx/source/polygon/b2dsvgpolypolygon.cxx
18
@@ -787,9 +787,9 @@ namespace basegfx
19
                                 // (since
20
                                 // createPolygonFromEllipseSegment()
21
                                 // normalizes to e.g. cw arc)
22
-                                const bool bFlipSegment( (bLargeArcFlag!=0) == 
23
-                                    (fmod(fTheta2+2*M_PI-fTheta1,
24
-                                          2*M_PI)<M_PI) );
25
+                                const bool bLessThanPi(fmod(fTheta2+2*M_PI-fTheta1,
26
+                                          2*M_PI)<M_PI);
27
+                                const bool bFlipSegment( (bLargeArcFlag!=0) == bLessThanPi );
28
                                 if( bFlipSegment )
29
                                     std::swap(fTheta1,fTheta2);
30
 
31
diff --git cosv/inc/cosv/tpl/vvector.hxx cosv/inc/cosv/tpl/vvector.hxx
32
index 4848d97..1903dce 100644
33
--- cosv/inc/cosv/tpl/vvector.hxx
34
+++ cosv/inc/cosv/tpl/vvector.hxx
35
@@ -132,7 +132,7 @@ class VirtualVector
36
     typedef VirtualVector<XX,PTRDEL>            self;
37
     typedef std::vector< DYN XX* >              impl_type;
38
     typedef typename impl_type::size_type       size_type;
39
-    typedef ptrdiff_t                           difference_type;
40
+    typedef std::ptrdiff_t                      difference_type;
41
 
42
     class const_iterator;
43
     class iterator;
44
diff --git autodoc/source/display/idl/hi_linkhelper.hxx autodoc/source/display/idl/hi_linkhelper.hxx
45
index c08be55..1cdfaa7 100644
46
--- autodoc/source/display/idl/hi_linkhelper.hxx
47
+++ autodoc/source/display/idl/hi_linkhelper.hxx
48
@@ -85,9 +85,7 @@ class LinkHelper
49
     const String &      XrefsSuffix() const;                               
50
                           
51
   private:                                                     
52
-    // DATA
53
-    mutable HtmlEnvironment_Idl &
54
-                        rEnv;
55
+    HtmlEnvironment_Idl & rEnv;
56
 };     
57
 
58
 inline const ary::idl::CodeEntity *          
59
diff --git autodoc/inc/ary/idl/i_ce2s.hxx autodoc/inc/ary/idl/i_ce2s.hxx
60
index c490980..efb2711 100644
61
--- autodoc/inc/ary/idl/i_ce2s.hxx
62
+++ autodoc/inc/ary/idl/i_ce2s.hxx
63
@@ -51,6 +51,7 @@ class Ce_2s
64
 {
65
   public:
66
     // LIFECYCLE
67
+    Ce_2s() {}
68
     virtual             ~Ce_2s();
69
 
70
     static DYN Ce_2s *  Create_(
71
diff --git unotools/inc/unotools/streamwrap.hxx unotools/inc/unotools/streamwrap.hxx
72
index 80cde76..4b53500 100644
73
--- unotools/inc/unotools/streamwrap.hxx
74
+++ unotools/inc/unotools/streamwrap.hxx
75
@@ -51,7 +51,7 @@ namespace utl
76
 //==================================================================
77
 typedef ::cppu::WeakImplHelper1	<	stario::XInputStream
78
                                 > InputStreamWrapper_Base;
79
-    // needed for some compilers
80
+// needed for some compilers
81
 /// helper class for wrapping an SvStream into an <type scope="com.sun.star.io">XInputStream</type>
82
 class UNOTOOLS_DLLPUBLIC OInputStreamWrapper : public InputStreamWrapper_Base
83
 {
84
@@ -69,9 +69,6 @@ public:
85
     OInputStreamWrapper(SvStream* pStream, sal_Bool bOwner=sal_False);
86
     virtual ~OInputStreamWrapper();
87
 
88
-// UNO Anbindung
89
-    DECLARE_UNO3_AGG_DEFAULTS(OInputStreamWrapper, InputStreamWrapper_Base);
90
-
91
 // stario::XInputStream
92
     virtual sal_Int32	SAL_CALL	readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
93
     virtual sal_Int32	SAL_CALL	readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
94
@@ -122,9 +119,6 @@ protected:
95
 public:
96
     OOutputStreamWrapper(SvStream& _rStream) :rStream(_rStream) { }
97
 
98
-// UNO Anbindung
99
-    DECLARE_UNO3_AGG_DEFAULTS(OOutputStreamWrapper, OutputStreamWrapper_Base);
100
-
101
 // stario::XOutputStream
102
     virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
103
     virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
104
diff --git lotuswordpro/source/filter/xfilter/xfparastyle.hxx lotuswordpro/source/filter/xfilter/xfparastyle.hxx
105
index fde03ae..ead40ff 100644
106
--- lotuswordpro/source/filter/xfilter/xfparastyle.hxx
107
+++ lotuswordpro/source/filter/xfilter/xfparastyle.hxx
108
@@ -235,10 +235,7 @@ public:
109
 
110
     sal_uInt32 GetFlag(){ return m_nFlag; }
111
 
112
-    /**
113
-     * @descr	return margins.
114
-     */
115
-    XFMargins GetMargins(){return m_aMargin;}
116
+    XFMargins& GetMargins(){return m_aMargin;}
117
 
118
     virtual enumXFStyle	GetStyleFamily();
119
 
120
diff --git chart2/source/controller/main/ChartController.hxx chart2/source/controller/main/ChartController.hxx
121
index 3927da9..93b1706 100644
122
--- chart2/source/controller/main/ChartController.hxx
123
+++ chart2/source/controller/main/ChartController.hxx
124
@@ -545,7 +545,7 @@ private:
125
                 TheModel* operator->() const { return m_pTheModel; }
126
         private:
127
             TheModel*				m_pTheModel;
128
-            mutable ::osl::Mutex&	m_rModelMutex;
129
+            ::osl::Mutex&	m_rModelMutex;
130
     };
131
 
132
 private:
133
diff --git writerperfect/source/filter/Style.hxx writerperfect/source/filter/Style.hxx
134
index 2820415..d54f0c8 100644
135
--- writerperfect/source/filter/Style.hxx
136
+++ writerperfect/source/filter/Style.hxx
137
@@ -34,7 +34,7 @@
138
 class TopLevelElementStyle
139
 {
140
 public:
141
-    TopLevelElementStyle() : mpsMasterPageName(NULL) { }
142
+    TopLevelElementStyle() : mpsMasterPageName(0) { }
143
     virtual ~TopLevelElementStyle() { if (mpsMasterPageName) delete mpsMasterPageName; }
144
     void setMasterPageName(WPXString &sMasterPageName) { mpsMasterPageName = new WPXString(sMasterPageName); }
145
     const WPXString * getMasterPageName() const { return mpsMasterPageName; }
146
diff --git filter/source/xmlfilteradaptor/streamwrap.hxx filter/source/xmlfilteradaptor/streamwrap.hxx
147
index 369a7bb..2a1a2ce 100644
148
--- filter/source/xmlfilteradaptor/streamwrap.hxx
149
+++ filter/source/xmlfilteradaptor/streamwrap.hxx
150
@@ -34,13 +34,6 @@
151
 #include <com/sun/star/io/XSeekable.hpp>
152
 #include <cppuhelper/implbase1.hxx>
153
 
154
-#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass) \
155
-virtual void            SAL_CALL acquire() throw() { baseclass::acquire(); } \
156
-virtual void            SAL_CALL release() throw() { baseclass::release(); }    \
157
-virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException) \
158
-{ return baseclass::queryInterface(_rType); } \
159
-void            SAL_CALL PUT_SEMICOLON_AT_THE_END()
160
-
161
 namespace osl
162
 {
163
     class File;
164
@@ -63,9 +56,6 @@ class OOutputStreamWrapper : public OutputStreamWrapper_Base
165
 public:
166
     OOutputStreamWrapper(::osl::File& _rStream) :rStream(_rStream) { }
167
 
168
-// UNO Anbindung
169
-    DECLARE_UNO3_AGG_DEFAULTS(OOutputStreamWrapper, OutputStreamWrapper_Base);
170
-
171
 // stario::XOutputStream
172
     virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
173
     virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
174
diff --git comphelper/inc/comphelper/oslfile2streamwrap.hxx comphelper/inc/comphelper/oslfile2streamwrap.hxx
175
index d636666..4d6c454 100644
176
--- comphelper/inc/comphelper/oslfile2streamwrap.hxx
177
+++ comphelper/inc/comphelper/oslfile2streamwrap.hxx
178
@@ -44,10 +44,7 @@ namespace comphelper
179
 // FmUnoIOStream,
180
 // stream zum schreiben un lesen von Daten, basieren  auf File
181
 //==================================================================
182
-struct InputStreamWrapper_Base : public ::cppu::WeakImplHelper1<stario::XInputStream> 
183
-{};
184
-
185
-class COMPHELPER_DLLPUBLIC OSLInputStreamWrapper : public InputStreamWrapper_Base
186
+class COMPHELPER_DLLPUBLIC OSLInputStreamWrapper : public ::cppu::WeakImplHelper1<stario::XInputStream>
187
 {
188
     ::osl::Mutex	m_aMutex;
189
     ::osl::File*	m_pFile;
190
@@ -58,14 +55,6 @@ public:
191
     OSLInputStreamWrapper(::osl::File* pStream, sal_Bool bOwner=sal_False);
192
     virtual ~OSLInputStreamWrapper();
193
 
194
-// UNO Anbindung
195
-    virtual void			SAL_CALL acquire() throw()
196
-        { InputStreamWrapper_Base::acquire(); }
197
-    virtual void			SAL_CALL release() throw()
198
-        { InputStreamWrapper_Base::release(); }
199
-    virtual ::com::sun::star::uno::Any	SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException)
200
-        { return InputStreamWrapper_Base::queryInterface(_rType); }
201
-
202
 // stario::XInputStream
203
     virtual sal_Int32	SAL_CALL	readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
204
     virtual sal_Int32	SAL_CALL	readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
205
@@ -78,24 +67,13 @@ public:
206
 // FmUnoOutStream,
207
 // Datensenke fuer Files
208
 //==================================================================
209
-struct OutputStreamWrapper_Base : public ::cppu::WeakImplHelper1<stario::XOutputStream> 
210
-{};
211
-
212
-class COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper : public OutputStreamWrapper_Base
213
+class COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper : public ::cppu::WeakImplHelper1<stario::XOutputStream>
214
 {
215
     ::osl::File&		rFile;
216
 
217
 public:
218
     OSLOutputStreamWrapper(::osl::File& _rFile) :rFile(_rFile) { }
219
 
220
-// UNO Anbindung
221
-    virtual void			SAL_CALL acquire() throw()
222
-        { OutputStreamWrapper_Base::acquire(); }
223
-    virtual void			SAL_CALL release() throw()
224
-        { OutputStreamWrapper_Base::release(); }
225
-    virtual ::com::sun::star::uno::Any	SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException)
226
-        { return OutputStreamWrapper_Base::queryInterface(_rType); }
227
-
228
 // stario::XOutputStream
229
     virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
230
     virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
231
diff --git sc/source/filter/inc/xeroot.hxx sc/source/filter/inc/xeroot.hxx
232
index cac22f4..dc8652e 100644
233
--- sc/source/filter/inc/xeroot.hxx
234
+++ sc/source/filter/inc/xeroot.hxx
235
@@ -168,7 +168,7 @@ private:
236
     XclExpRootData::XclExpLinkMgrRef GetLocalLinkMgrRef() const;
237
 
238
 private:
239
-    mutable XclExpRootData& mrExpData;      /// Reference to the global export data struct.
240
+    XclExpRootData& mrExpData;      /// Reference to the global export data struct.
241
 };
242
 
243
 // ============================================================================
244
diff --git sc/source/filter/inc/xiroot.hxx sc/source/filter/inc/xiroot.hxx
245
index 1b4153e..83953e3 100644
246
--- sc/source/filter/inc/xiroot.hxx
247
+++ sc/source/filter/inc/xiroot.hxx
248
@@ -218,7 +218,7 @@ public:
249
     void                ReadCodeName( XclImpStream& rStrm, bool bGlobals );
250
 
251
 private:
252
-    mutable XclImpRootData& mrImpData;      /// Reference to the global import data struct.
253
+    XclImpRootData& mrImpData;      /// Reference to the global import data struct.
254
 };
255
 
256
 // ============================================================================
257
diff --git sc/source/filter/inc/xlroot.hxx sc/source/filter/inc/xlroot.hxx
258
index 5e132fa..3f9f6fa 100644
259
--- sc/source/filter/inc/xlroot.hxx
260
+++ sc/source/filter/inc/xlroot.hxx
261
@@ -285,7 +285,7 @@ public:
262
     inline void         IncCurrScTab() { ++mrData.mnScTab; }
263
 
264
 private:
265
-    mutable XclRootData& mrData;        /// Reference to the global data struct.
266
+    XclRootData& mrData;        /// Reference to the global data struct.
267
 };
268
 
269
 // ============================================================================
270
diff --git dbaccess/source/core/dataaccess/documentdefinition.hxx dbaccess/source/core/dataaccess/documentdefinition.hxx
271
index f74b6ac..e51b959 100644
272
--- dbaccess/source/core/dataaccess/documentdefinition.hxx
273
+++ dbaccess/source/core/dataaccess/documentdefinition.hxx
274
@@ -374,7 +374,7 @@ private:
275
             ODocumentDefinition&            m_rDocumentDefinition;
276
     const   ::com::sun::star::uno::Any      m_aOldValue;
277
     const   ::com::sun::star::uno::Any      m_aNewValue;
278
-    mutable ::osl::ResettableMutexGuard&    m_rClearForNotify;
279
+    ::osl::ResettableMutexGuard&    m_rClearForNotify;
280
 
281
     void    impl_fireEvent_throw( const sal_Bool i_bVetoable );
282
 };
283
diff --git hwpfilter/source/list.hxx hwpfilter/source/list.hxx
284
index 043a214..02f6e00 100644
285
--- hwpfilter/source/list.hxx
286
+++ hwpfilter/source/list.hxx
287
@@ -41,6 +41,7 @@
288
  * re-implements the same functionality, based on the STL.
289
  */
290
 
291
+#include <cstddef>
292
 #include <vector>
293
 
294
 template<class T>
295

Return to bug 361869