From a7ba47243cb70b78c8d8674558ed6db35b79da99 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Aug 2012 11:39:58 +0200 Subject: -Werror,-Wunused-private-field (Clang towards 3.2) Change-Id: I63d27cd70a7c6d4ad73f83db5e19985c0e3b8d7c --- svx/inc/extrusiondepthdialog.hxx | 2 -- svx/inc/svx/bmpmask.hxx | 1 - svx/inc/svx/clipboardctl.hxx | 1 - svx/inc/svx/e3dundo.hxx | 9 ++------- svx/inc/svx/float3d.hxx | 6 +----- svx/inc/svx/fontwork.hxx | 1 - svx/inc/svx/galctrl.hxx | 1 - svx/inc/svx/itemwin.hxx | 1 - svx/inc/svx/numfmtsh.hxx | 1 - svx/inc/svx/sdrpagewindow.hxx | 1 - svx/inc/svx/svdetc.hxx | 2 -- svx/inc/svx/tbcontrl.hxx | 3 --- svx/inc/svx/xflftrit.hxx | 2 -- 13 files changed, 3 insertions(+), 28 deletions(-) (limited to 'svx/inc') diff --git a/svx/inc/extrusiondepthdialog.hxx b/svx/inc/extrusiondepthdialog.hxx index e619052c03be..50ff00e2ecc4 100644 --- a/svx/inc/extrusiondepthdialog.hxx +++ b/svx/inc/extrusiondepthdialog.hxx @@ -37,8 +37,6 @@ class ExtrusionDepthDialog : public ModalDialog CancelButton maCancelButton; HelpButton maHelpButton; - FieldUnit meDefaultUnit; - public: ExtrusionDepthDialog( Window* pParent, double fDepth, FieldUnit eDefaultUnit ); ~ExtrusionDepthDialog(); diff --git a/svx/inc/svx/bmpmask.hxx b/svx/inc/svx/bmpmask.hxx index 0e85f0f2c8c3..158931ffd0d1 100644 --- a/svx/inc/svx/bmpmask.hxx +++ b/svx/inc/svx/bmpmask.hxx @@ -90,7 +90,6 @@ class SVX_DLLPUBLIC SvxBmpMask : public SfxDockingWindow friend class MaskData; friend class MaskSet; - Window* pParentWin; Size aLastSize; ToolBox aTbxPipette; ColorWindow* pCtlPipette; diff --git a/svx/inc/svx/clipboardctl.hxx b/svx/inc/svx/clipboardctl.hxx index 1b55eee6e11d..465436367fad 100644 --- a/svx/inc/svx/clipboardctl.hxx +++ b/svx/inc/svx/clipboardctl.hxx @@ -35,7 +35,6 @@ class SVX_DLLPUBLIC SvxClipBoardControl : public SfxToolBoxControl { SfxPoolItem* pClipboardFmtItem; PopupMenu* pPopup; - sal_uInt16 nItemId; sal_Bool bDisabled; void DelPopup(); diff --git a/svx/inc/svx/e3dundo.hxx b/svx/inc/svx/e3dundo.hxx index 9d9192191a40..16ec3f4e67f6 100644 --- a/svx/inc/svx/e3dundo.hxx +++ b/svx/inc/svx/e3dundo.hxx @@ -33,8 +33,6 @@ #include #include "svx/svxdllapi.h" -class E3dView; - /************************************************************************\ |* |* Base class for all 3D undo actions. @@ -99,19 +97,16 @@ class SVX_DLLPUBLIC E3dAttributesUndoAction : public SdrUndoAction using SdrUndoAction::Repeat; SdrObject* pObject; - E3dView* pView; - sal_Bool bUseSubObjects; const SfxItemSet aNewSet; const SfxItemSet aOldSet; public: TYPEINFO(); - E3dAttributesUndoAction( SdrModel &rModel, E3dView* pView, + E3dAttributesUndoAction( SdrModel &rModel, E3dObject* pInObject, const SfxItemSet& rNewSet, - const SfxItemSet& rOldSet, - sal_Bool bUseSubObj); + const SfxItemSet& rOldSet); virtual ~E3dAttributesUndoAction(); diff --git a/svx/inc/svx/float3d.hxx b/svx/inc/svx/float3d.hxx index 380c77de5f8c..3f8c00470624 100644 --- a/svx/inc/svx/float3d.hxx +++ b/svx/inc/svx/float3d.hxx @@ -53,7 +53,6 @@ enum ViewType3D class SdrModel; class FmFormModel; -class FmFormPage; class VirtualDevice; class E3dView; class SdrPageView; @@ -201,7 +200,6 @@ private: // Model, Page, View etc. for favourites FmFormModel* pModel; - FmFormPage* pFmPage; VirtualDevice* pVDev; E3dView* p3DView; @@ -270,14 +268,12 @@ public: class Svx3DCtrlItem : public SfxControllerItem { - Svx3DWin* p3DWin; - protected: virtual void StateChanged( sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem* pState ); public: - Svx3DCtrlItem( sal_uInt16, Svx3DWin*, SfxBindings* ); + Svx3DCtrlItem( sal_uInt16, SfxBindings* ); }; /************************************************************************* diff --git a/svx/inc/svx/fontwork.hxx b/svx/inc/svx/fontwork.hxx index adfc6be7059f..a8fa0b95d100 100644 --- a/svx/inc/svx/fontwork.hxx +++ b/svx/inc/svx/fontwork.hxx @@ -121,7 +121,6 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow SfxBindings& rBindings; Timer aInputTimer; - sal_Bool bUserZoomedIn; sal_uInt16 nLastStyleTbxId; sal_uInt16 nLastAdjustTbxId; diff --git a/svx/inc/svx/galctrl.hxx b/svx/inc/svx/galctrl.hxx index 646377a7836d..2c40880bb275 100644 --- a/svx/inc/svx/galctrl.hxx +++ b/svx/inc/svx/galctrl.hxx @@ -137,7 +137,6 @@ private: Link maSelectHdl; GalleryTheme* mpTheme; sal_uIntPtr mnCurRow; - sal_Bool mbInit; void InitSettings(); diff --git a/svx/inc/svx/itemwin.hxx b/svx/inc/svx/itemwin.hxx index 10babf837f1f..729374e75eb0 100644 --- a/svx/inc/svx/itemwin.hxx +++ b/svx/inc/svx/itemwin.hxx @@ -78,7 +78,6 @@ class SvxColorBox : public ColorLB using Window::Update; sal_uInt16 nCurPos; - sal_uInt16 nId; Timer aDelayTimer; Size aLogicalSize; sal_Bool bRelease; diff --git a/svx/inc/svx/numfmtsh.hxx b/svx/inc/svx/numfmtsh.hxx index ad640d52f14c..d4b0902bca56 100644 --- a/svx/inc/svx/numfmtsh.hxx +++ b/svx/inc/svx/numfmtsh.hxx @@ -199,7 +199,6 @@ private: std::vector aAddList; std::vector aDelList; std::vector aCurEntryList; - sal_uInt32 nInitFormatKey; sal_uInt32 nCurFormatKey; short nCurCategory; LanguageType eCurLanguage; diff --git a/svx/inc/svx/sdrpagewindow.hxx b/svx/inc/svx/sdrpagewindow.hxx index ace4b673d3bc..b4e0d01d638a 100644 --- a/svx/inc/svx/sdrpagewindow.hxx +++ b/svx/inc/svx/sdrpagewindow.hxx @@ -88,7 +88,6 @@ class SVX_DLLPUBLIC SdrPageWindow SdrPaintWindow* mpOriginalPaintWindow; // UNO stuff for xControls - void* mpDummy; ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer > mxControlContainer; sdr::contact::ObjectContact* CreateViewSpecificObjectContact(); diff --git a/svx/inc/svx/svdetc.hxx b/svx/inc/svx/svdetc.hxx index 51b3e5dc29c2..68b89c8fbda4 100644 --- a/svx/inc/svx/svdetc.hxx +++ b/svx/inc/svx/svdetc.hxx @@ -49,7 +49,6 @@ class SdrOutliner; class SdrModel; class SvtSysLocale; -class CharClass; class LocaleDataWrapper; namespace com { namespace sun { namespace star { namespace lang { @@ -263,7 +262,6 @@ public: class SVX_DLLPUBLIC SdrGlobalData { const SvtSysLocale* pSysLocale; // follows always locale settings - const CharClass* pCharClass; // follows always SysLocale const LocaleDataWrapper* pLocaleData; // follows always SysLocale public: SdrLinkList aUserMakeObjHdl; diff --git a/svx/inc/svx/tbcontrl.hxx b/svx/inc/svx/tbcontrl.hxx index 82b995c64007..afc8cf0af809 100644 --- a/svx/inc/svx/tbcontrl.hxx +++ b/svx/inc/svx/tbcontrl.hxx @@ -210,10 +210,7 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > m_xBoundItems[MAX_FAMILIES]; SfxTemplateItem* pFamilyState[MAX_FAMILIES]; sal_uInt16 nActFamily; // Id in the ToolBox = Position - 1 - sal_uInt16 nActFilter; // FilterIdx - sal_uInt16 nAppFilter; // Filter, that the App has set String aCurSel; - sal_Bool bListening; Impl* pImpl; SVX_DLLPRIVATE void Update(); diff --git a/svx/inc/svx/xflftrit.hxx b/svx/inc/svx/xflftrit.hxx index 1c90b8e27e55..8cf6ef307e85 100644 --- a/svx/inc/svx/xflftrit.hxx +++ b/svx/inc/svx/xflftrit.hxx @@ -40,8 +40,6 @@ class SVX_DLLPUBLIC XFillFloatTransparenceItem : public XFillGradientItem { private: - long nDummy1; - long nDummy2; sal_Bool bEnabled; public: -- cgit