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

(-)basegfx/source/polygon/b2dpolygon.cxx (+2 lines)
Lines 257-262 class ControlVectorPair2D Link Here
257
    basegfx::B2DVector							maNextVector;
257
    basegfx::B2DVector							maNextVector;
258
258
259
public:
259
public:
260
    ControlVectorPair2D() {}
261
260
    const basegfx::B2DVector& getPrevVector() const 
262
    const basegfx::B2DVector& getPrevVector() const 
261
    { 
263
    { 
262
        return maPrevVector; 
264
        return maPrevVector; 
(-)basegfx/source/polygon/b2dsvgpolypolygon.cxx (-3 / +3 lines)
Lines 787-795 namespace basegfx Link Here
787
                                // (since
787
                                // (since
788
                                // createPolygonFromEllipseSegment()
788
                                // createPolygonFromEllipseSegment()
789
                                // normalizes to e.g. cw arc)
789
                                // normalizes to e.g. cw arc)
790
                                const bool bFlipSegment( (bLargeArcFlag!=0) == 
790
                                const bool bLessThanPi(fmod(fTheta2+2*M_PI-fTheta1,
791
                                    (fmod(fTheta2+2*M_PI-fTheta1,
791
                                          2*M_PI)<M_PI);
792
                                          2*M_PI)<M_PI) );
792
                                const bool bFlipSegment( (bLargeArcFlag!=0) == bLessThanPi );
793
                                if( bFlipSegment )
793
                                if( bFlipSegment )
794
                                    std::swap(fTheta1,fTheta2);
794
                                    std::swap(fTheta1,fTheta2);
795
795
(-)cosv/inc/cosv/tpl/vvector.hxx (-1 / +1 lines)
Lines 132-138 class VirtualVector Link Here
132
    typedef VirtualVector<XX,PTRDEL>            self;
132
    typedef VirtualVector<XX,PTRDEL>            self;
133
    typedef std::vector< DYN XX* >              impl_type;
133
    typedef std::vector< DYN XX* >              impl_type;
134
    typedef typename impl_type::size_type       size_type;
134
    typedef typename impl_type::size_type       size_type;
135
    typedef ptrdiff_t                           difference_type;
135
    typedef std::ptrdiff_t                      difference_type;
136
136
137
    class const_iterator;
137
    class const_iterator;
138
    class iterator;
138
    class iterator;
(-)autodoc/source/display/idl/hi_linkhelper.hxx (-3 / +1 lines)
Lines 85-93 class LinkHelper Link Here
85
    const String &      XrefsSuffix() const;                               
85
    const String &      XrefsSuffix() const;                               
86
                          
86
                          
87
  private:                                                     
87
  private:                                                     
88
    // DATA
88
    HtmlEnvironment_Idl & rEnv;
89
    mutable HtmlEnvironment_Idl &
90
                        rEnv;
91
};     
89
};     
92
90
93
inline const ary::idl::CodeEntity *          
91
inline const ary::idl::CodeEntity *          
(-)autodoc/inc/ary/idl/i_ce2s.hxx (+1 lines)
Lines 51-56 class Ce_2s Link Here
51
{
51
{
52
  public:
52
  public:
53
    // LIFECYCLE
53
    // LIFECYCLE
54
    Ce_2s() {}
54
    virtual             ~Ce_2s();
55
    virtual             ~Ce_2s();
55
56
56
    static DYN Ce_2s *  Create_(
57
    static DYN Ce_2s *  Create_(
(-)unotools/inc/unotools/streamwrap.hxx (-7 / +1 lines)
Lines 51-57 namespace utl Link Here
51
//==================================================================
51
//==================================================================
52
typedef ::cppu::WeakImplHelper1	<	stario::XInputStream
52
typedef ::cppu::WeakImplHelper1	<	stario::XInputStream
53
                                > InputStreamWrapper_Base;
53
                                > InputStreamWrapper_Base;
54
    // needed for some compilers
54
// needed for some compilers
55
/// helper class for wrapping an SvStream into an <type scope="com.sun.star.io">XInputStream</type>
55
/// helper class for wrapping an SvStream into an <type scope="com.sun.star.io">XInputStream</type>
56
class UNOTOOLS_DLLPUBLIC OInputStreamWrapper : public InputStreamWrapper_Base
56
class UNOTOOLS_DLLPUBLIC OInputStreamWrapper : public InputStreamWrapper_Base
57
{
57
{
Lines 69-77 public: Link Here
69
    OInputStreamWrapper(SvStream* pStream, sal_Bool bOwner=sal_False);
69
    OInputStreamWrapper(SvStream* pStream, sal_Bool bOwner=sal_False);
70
    virtual ~OInputStreamWrapper();
70
    virtual ~OInputStreamWrapper();
71
71
72
// UNO Anbindung
73
    DECLARE_UNO3_AGG_DEFAULTS(OInputStreamWrapper, InputStreamWrapper_Base);
74
75
// stario::XInputStream
72
// stario::XInputStream
76
    virtual sal_Int32	SAL_CALL	readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
73
    virtual sal_Int32	SAL_CALL	readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
77
    virtual sal_Int32	SAL_CALL	readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
74
    virtual sal_Int32	SAL_CALL	readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
Lines 122-130 protected: Link Here
122
public:
119
public:
123
    OOutputStreamWrapper(SvStream& _rStream) :rStream(_rStream) { }
120
    OOutputStreamWrapper(SvStream& _rStream) :rStream(_rStream) { }
124
121
125
// UNO Anbindung
126
    DECLARE_UNO3_AGG_DEFAULTS(OOutputStreamWrapper, OutputStreamWrapper_Base);
127
128
// stario::XOutputStream
122
// stario::XOutputStream
129
    virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
123
    virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
130
    virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
124
    virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
(-)lotuswordpro/source/filter/xfilter/xfparastyle.hxx (-4 / +1 lines)
Lines 235-244 public: Link Here
235
235
236
    sal_uInt32 GetFlag(){ return m_nFlag; }
236
    sal_uInt32 GetFlag(){ return m_nFlag; }
237
237
238
    /**
238
    XFMargins& GetMargins(){return m_aMargin;}
239
     * @descr	return margins.
240
     */
241
    XFMargins GetMargins(){return m_aMargin;}
242
239
243
    virtual enumXFStyle	GetStyleFamily();
240
    virtual enumXFStyle	GetStyleFamily();
244
241
(-)chart2/source/controller/main/ChartController.hxx (-1 / +1 lines)
Lines 545-551 private: Link Here
545
                TheModel* operator->() const { return m_pTheModel; }
545
                TheModel* operator->() const { return m_pTheModel; }
546
        private:
546
        private:
547
            TheModel*				m_pTheModel;
547
            TheModel*				m_pTheModel;
548
            mutable ::osl::Mutex&	m_rModelMutex;
548
            ::osl::Mutex&	m_rModelMutex;
549
    };
549
    };
550
550
551
private:
551
private:
(-)writerperfect/source/filter/Style.hxx (-1 / +1 lines)
Lines 34-40 Link Here
34
class TopLevelElementStyle
34
class TopLevelElementStyle
35
{
35
{
36
public:
36
public:
37
    TopLevelElementStyle() : mpsMasterPageName(NULL) { }
37
    TopLevelElementStyle() : mpsMasterPageName(0) { }
38
    virtual ~TopLevelElementStyle() { if (mpsMasterPageName) delete mpsMasterPageName; }
38
    virtual ~TopLevelElementStyle() { if (mpsMasterPageName) delete mpsMasterPageName; }
39
    void setMasterPageName(WPXString &sMasterPageName) { mpsMasterPageName = new WPXString(sMasterPageName); }
39
    void setMasterPageName(WPXString &sMasterPageName) { mpsMasterPageName = new WPXString(sMasterPageName); }
40
    const WPXString * getMasterPageName() const { return mpsMasterPageName; }
40
    const WPXString * getMasterPageName() const { return mpsMasterPageName; }
(-)filter/source/xmlfilteradaptor/streamwrap.hxx (-10 lines)
Lines 34-46 Link Here
34
#include <com/sun/star/io/XSeekable.hpp>
34
#include <com/sun/star/io/XSeekable.hpp>
35
#include <cppuhelper/implbase1.hxx>
35
#include <cppuhelper/implbase1.hxx>
36
36
37
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass) \
38
virtual void            SAL_CALL acquire() throw() { baseclass::acquire(); } \
39
virtual void            SAL_CALL release() throw() { baseclass::release(); }    \
40
virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException) \
41
{ return baseclass::queryInterface(_rType); } \
42
void            SAL_CALL PUT_SEMICOLON_AT_THE_END()
43
44
namespace osl
37
namespace osl
45
{
38
{
46
    class File;
39
    class File;
Lines 63-71 class OOutputStreamWrapper : public OutputStreamWrapper_Base Link Here
63
public:
56
public:
64
    OOutputStreamWrapper(::osl::File& _rStream) :rStream(_rStream) { }
57
    OOutputStreamWrapper(::osl::File& _rStream) :rStream(_rStream) { }
65
58
66
// UNO Anbindung
67
    DECLARE_UNO3_AGG_DEFAULTS(OOutputStreamWrapper, OutputStreamWrapper_Base);
68
69
// stario::XOutputStream
59
// stario::XOutputStream
70
    virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
60
    virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
71
    virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
61
    virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
(-)comphelper/inc/comphelper/oslfile2streamwrap.hxx (-24 / +2 lines)
Lines 44-53 namespace comphelper Link Here
44
// FmUnoIOStream,
44
// FmUnoIOStream,
45
// stream zum schreiben un lesen von Daten, basieren  auf File
45
// stream zum schreiben un lesen von Daten, basieren  auf File
46
//==================================================================
46
//==================================================================
47
struct InputStreamWrapper_Base : public ::cppu::WeakImplHelper1<stario::XInputStream> 
47
class COMPHELPER_DLLPUBLIC OSLInputStreamWrapper : public ::cppu::WeakImplHelper1<stario::XInputStream>
48
{};
49
50
class COMPHELPER_DLLPUBLIC OSLInputStreamWrapper : public InputStreamWrapper_Base
51
{
48
{
52
    ::osl::Mutex	m_aMutex;
49
    ::osl::Mutex	m_aMutex;
53
    ::osl::File*	m_pFile;
50
    ::osl::File*	m_pFile;
Lines 58-71 public: Link Here
58
    OSLInputStreamWrapper(::osl::File* pStream, sal_Bool bOwner=sal_False);
55
    OSLInputStreamWrapper(::osl::File* pStream, sal_Bool bOwner=sal_False);
59
    virtual ~OSLInputStreamWrapper();
56
    virtual ~OSLInputStreamWrapper();
60
57
61
// UNO Anbindung
62
    virtual void			SAL_CALL acquire() throw()
63
        { InputStreamWrapper_Base::acquire(); }
64
    virtual void			SAL_CALL release() throw()
65
        { InputStreamWrapper_Base::release(); }
66
    virtual ::com::sun::star::uno::Any	SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException)
67
        { return InputStreamWrapper_Base::queryInterface(_rType); }
68
69
// stario::XInputStream
58
// stario::XInputStream
70
    virtual sal_Int32	SAL_CALL	readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
59
    virtual sal_Int32	SAL_CALL	readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
71
    virtual sal_Int32	SAL_CALL	readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
60
    virtual sal_Int32	SAL_CALL	readSomeBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
Lines 78-101 public: Link Here
78
// FmUnoOutStream,
67
// FmUnoOutStream,
79
// Datensenke fuer Files
68
// Datensenke fuer Files
80
//==================================================================
69
//==================================================================
81
struct OutputStreamWrapper_Base : public ::cppu::WeakImplHelper1<stario::XOutputStream> 
70
class COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper : public ::cppu::WeakImplHelper1<stario::XOutputStream>
82
{};
83
84
class COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper : public OutputStreamWrapper_Base
85
{
71
{
86
    ::osl::File&		rFile;
72
    ::osl::File&		rFile;
87
73
88
public:
74
public:
89
    OSLOutputStreamWrapper(::osl::File& _rFile) :rFile(_rFile) { }
75
    OSLOutputStreamWrapper(::osl::File& _rFile) :rFile(_rFile) { }
90
76
91
// UNO Anbindung
92
    virtual void			SAL_CALL acquire() throw()
93
        { OutputStreamWrapper_Base::acquire(); }
94
    virtual void			SAL_CALL release() throw()
95
        { OutputStreamWrapper_Base::release(); }
96
    virtual ::com::sun::star::uno::Any	SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException)
97
        { return OutputStreamWrapper_Base::queryInterface(_rType); }
98
99
// stario::XOutputStream
77
// stario::XOutputStream
100
    virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
78
    virtual void SAL_CALL writeBytes(const staruno::Sequence< sal_Int8 >& aData) throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
101
    virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
79
    virtual void SAL_CALL flush() throw(stario::NotConnectedException, stario::BufferSizeExceededException, staruno::RuntimeException);
(-)sc/source/filter/inc/xeroot.hxx (-1 / +1 lines)
Lines 168-174 private: Link Here
168
    XclExpRootData::XclExpLinkMgrRef GetLocalLinkMgrRef() const;
168
    XclExpRootData::XclExpLinkMgrRef GetLocalLinkMgrRef() const;
169
169
170
private:
170
private:
171
    mutable XclExpRootData& mrExpData;      /// Reference to the global export data struct.
171
    XclExpRootData& mrExpData;      /// Reference to the global export data struct.
172
};
172
};
173
173
174
// ============================================================================
174
// ============================================================================
(-)sc/source/filter/inc/xiroot.hxx (-1 / +1 lines)
Lines 218-224 public: Link Here
218
    void                ReadCodeName( XclImpStream& rStrm, bool bGlobals );
218
    void                ReadCodeName( XclImpStream& rStrm, bool bGlobals );
219
219
220
private:
220
private:
221
    mutable XclImpRootData& mrImpData;      /// Reference to the global import data struct.
221
    XclImpRootData& mrImpData;      /// Reference to the global import data struct.
222
};
222
};
223
223
224
// ============================================================================
224
// ============================================================================
(-)sc/source/filter/inc/xlroot.hxx (-1 / +1 lines)
Lines 285-291 public: Link Here
285
    inline void         IncCurrScTab() { ++mrData.mnScTab; }
285
    inline void         IncCurrScTab() { ++mrData.mnScTab; }
286
286
287
private:
287
private:
288
    mutable XclRootData& mrData;        /// Reference to the global data struct.
288
    XclRootData& mrData;        /// Reference to the global data struct.
289
};
289
};
290
290
291
// ============================================================================
291
// ============================================================================
(-)dbaccess/source/core/dataaccess/documentdefinition.hxx (-1 / +1 lines)
Lines 374-380 private: Link Here
374
            ODocumentDefinition&            m_rDocumentDefinition;
374
            ODocumentDefinition&            m_rDocumentDefinition;
375
    const   ::com::sun::star::uno::Any      m_aOldValue;
375
    const   ::com::sun::star::uno::Any      m_aOldValue;
376
    const   ::com::sun::star::uno::Any      m_aNewValue;
376
    const   ::com::sun::star::uno::Any      m_aNewValue;
377
    mutable ::osl::ResettableMutexGuard&    m_rClearForNotify;
377
    ::osl::ResettableMutexGuard&    m_rClearForNotify;
378
378
379
    void    impl_fireEvent_throw( const sal_Bool i_bVetoable );
379
    void    impl_fireEvent_throw( const sal_Bool i_bVetoable );
380
};
380
};
(-)hwpfilter/source/list.hxx (+1 lines)
Lines 41-46 Link Here
41
 * re-implements the same functionality, based on the STL.
41
 * re-implements the same functionality, based on the STL.
42
 */
42
 */
43
43
44
#include <cstddef>
44
#include <vector>
45
#include <vector>
45
46
46
template<class T>
47
template<class T>

Return to bug 361869