From 84db94e97bf088cf442db5f97fefbe41fd45c1bb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Sep 2012 11:25:20 +0200 Subject: -Werror,-Wunused-private-field (various sw) Change-Id: Ib2becb2af810da0fa3d24bd0aa21887d41e2f34c --- sw/inc/pvprtdat.hxx | 3 +-- sw/inc/splargs.hxx | 3 +-- sw/inc/unoframe.hxx | 4 ---- sw/inc/unostyle.hxx | 2 -- 4 files changed, 2 insertions(+), 10 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/pvprtdat.hxx b/sw/inc/pvprtdat.hxx index 19a4785bcb60..513b1b3dabe3 100644 --- a/sw/inc/pvprtdat.hxx +++ b/sw/inc/pvprtdat.hxx @@ -29,12 +29,11 @@ class SwPagePreViewPrtData nHorzSpace, nVertSpace; sal_uInt8 nRow, nCol; sal_Bool bLandscape : 1; - sal_Bool bStretch : 1; public: SwPagePreViewPrtData() : nLeftSpace(0), nRightSpace(0), nTopSpace(0), nBottomSpace(0), nHorzSpace(0), nVertSpace(0), nRow(1), nCol(1), - bLandscape(0),bStretch(0) + bLandscape(0) {} sal_uLong GetLeftSpace() const { return nLeftSpace; } diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx index 974664236261..8d8be4635ba0 100644 --- a/sw/inc/splargs.hxx +++ b/sw/inc/splargs.hxx @@ -129,7 +129,6 @@ class SwInterHyphInfo ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenatedWord > xHyphWord; const Point aCrsrPos; - sal_Bool bAuto : 1; sal_Bool bNoLang : 1; sal_Bool bCheck : 1; public: @@ -144,7 +143,7 @@ public: const sal_uInt16 nStartPos = 0, const sal_uInt16 nLength = USHRT_MAX ) : aCrsrPos( rCrsrPos ), - bAuto(sal_False), bNoLang(sal_False), bCheck(sal_False), + bNoLang(sal_False), bCheck(sal_False), nStart(nStartPos), nLen(nLength), nWordStart(0), nWordLen(0), nHyphPos(0), nMinTrail(0) diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index 3642a8c089e8..948dd03e2526 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -49,8 +49,6 @@ #include #include - -class SfxItemPropertSet; class SdrObject; class SwDoc; class SwFmt; @@ -171,8 +169,6 @@ class SwXTextFrame : public SwXTextFrameBaseClass, public SwXText, public SwXFrame { - const SfxItemPropertSet* _pPropSet; - protected: virtual const SwStartNode *GetStartNode() const; diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index d18eb2106dd9..76bbd5009776 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -288,8 +288,6 @@ public: class SwXPageStyle : public SwXStyle { - SwDocShell* pDocShell; - protected: void SAL_CALL SetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); -- cgit