summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-30 23:06:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-31 09:04:14 +0200
commit93a36f862b2aff3790a90a51e4a7df513fde53b1 (patch)
tree52251631b6bde7e38e2ba78c9f41e7b02b41f33e /cui
parent886a3640e2a5ff3ebd12b4034f6c245946dd8e95 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I6d5948fc6b2b42e306db9de70ab44b235dc116f9
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx3
-rw-r--r--cui/source/dialogs/colorpicker.cxx2
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx1
-rw-r--r--cui/source/dialogs/hltpbase.cxx5
-rw-r--r--cui/source/dialogs/iconcdlg.cxx3
-rw-r--r--cui/source/inc/SpellDialog.hxx1
-rw-r--r--cui/source/inc/cfg.hxx2
-rw-r--r--cui/source/inc/cuihyperdlg.hxx8
-rw-r--r--cui/source/inc/cuitabarea.hxx2
-rw-r--r--cui/source/inc/cuitabline.hxx1
-rw-r--r--cui/source/inc/hlmarkwn.hxx1
-rw-r--r--cui/source/inc/hltpbase.hxx5
-rw-r--r--cui/source/inc/iconcdlg.hxx1
-rw-r--r--cui/source/inc/macropg.hxx2
-rw-r--r--cui/source/inc/textanim.hxx1
-rw-r--r--cui/source/inc/transfrm.hxx2
-rw-r--r--cui/source/options/optgdlg.hxx1
-rw-r--r--cui/source/tabpages/tabline.cxx1
-rw-r--r--cui/source/tabpages/textanim.cxx1
19 files changed, 5 insertions, 38 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 9dcd2ac13716..e71256943cc5 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -256,8 +256,7 @@ SpellDialog::SpellDialog(
aDialogUndoLink( LINK (this, SpellDialog, DialogUndoHdl)),
bModified( false ),
bFocusLocked( true ),
- rParent ( *pChildWindow ),
- nOldLang ( LANGUAGE_NONE )
+ rParent ( *pChildWindow )
{
FreeResource();
xSpell = LinguMgr::GetSpellChecker();
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index 497a210bcf82..576907d7e3dc 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -378,7 +378,6 @@ private:
std::vector< sal_uInt16 > maPercent_Horiz;
std::vector< sal_uInt8 > maRGB_Vert;
std::vector< sal_uInt16 > maPercent_Vert;
- bool mbInit;
};
// -----------------------------------------------------------------------
@@ -389,7 +388,6 @@ ColorFieldControl::ColorFieldControl( Window* pParent, const ResId& rResId )
, mdX( -1.0 )
, mdY( -1.0 )
, mpBitmap( 0 )
-, mbInit( false )
{
SetControlBackground();
}
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index e26d0435ad92..86d32f3e10ff 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -131,7 +131,6 @@ SvxHlinkDlgMarkWnd::SvxHlinkDlgMarkWnd( SvxHyperlinkTabPageBase *pParent )
maBtClose( this, CUI_RES (BT_CLOSE) ),
maLbTree ( this, CUI_RES (TLB_MARK) ),
mbUserMoved ( sal_False ),
- mbFirst ( sal_True ),
mpParent ( pParent ),
mnError ( LERR_NOERROR )
{
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 4a1a2ecb0ef6..e665a960dddb 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -96,10 +96,9 @@ SvxFramesComboBox::~SvxFramesComboBox ()
|*
|************************************************************************/
-SvxHyperURLBox::SvxHyperURLBox( Window* pParent, INetProtocol eSmart, sal_Bool bAddresses )
+SvxHyperURLBox::SvxHyperURLBox( Window* pParent, INetProtocol eSmart )
: SvtURLBox ( pParent, eSmart ),
- DropTargetHelper ( this ),
- mbAccessAddress (bAddresses)
+ DropTargetHelper ( this )
{
}
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 4b407b59b875..e8640042e90a 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -79,8 +79,7 @@ IconChoicePage::IconChoicePage( Window *pParent, const ResId &rResId,
: TabPage ( pParent, rResId ),
pSet ( &rAttrSet ),
bHasExchangeSupport ( sal_False ),
- pDialog ( NULL ),
- bStandard ( sal_False )
+ pDialog ( NULL )
{
SetStyle ( GetStyle() | WB_DIALOGCONTROL | WB_HIDE );
}
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 98465977be30..da5cd6461f1d 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -196,7 +196,6 @@ private:
SpellDialog_Impl* pImpl;
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XSpellChecker1 > xSpell;
- LanguageType nOldLang;
DECL_LINK(ChangeHdl, void *);
DECL_LINK(ChangeAllHdl, void *);
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 88aa0d699841..291eb5142ac0 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -238,8 +238,6 @@ private:
bool bStrEdited;
bool bIsUserDefined;
bool bIsMain;
- bool bIsDeletable;
- bool bIsMovable;
bool bIsParentData;
/// toolbar specific properties
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index 67ff9b986b86..9e976dfed2bd 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -65,18 +65,10 @@ private:
SfxBindings* mpBindings;
SfxItemSet* mpItemSet;
- sal_Bool mbDummy1 : 1;
- sal_Bool mbDummy2 : 1;
- sal_Bool mbDummy3 : 1;
- sal_Bool mbDummy4 : 1;
- sal_Bool mbDummy5 : 1;
sal_Bool mbGrabFocus : 1;
sal_Bool mbReadOnly : 1;
sal_Bool mbIsHTMLDoc : 1;
- void* mpDummy1;
- void* mpDummy2;
-
DECL_LINK (ClickApplyHdl_Impl, void * );
DECL_LINK (ClickCloseHdl_Impl, void * );
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 65121b998e78..7a954f13e24d 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -335,7 +335,6 @@ private:
ChangeType* pnColorListState;
sal_uInt16 nPageType;
sal_uInt16 nDlgType;
- sal_uInt16* pPos;
sal_Bool* pbAreaTP;
sal_Bool bDisable;
@@ -488,7 +487,6 @@ private:
ImageButton aBtnSave;
const SfxItemSet& rOutAttrs;
- RECT_POINT eRP;
XColorListRef pColorList;
XHatchListRef pHatchingList;
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 393e9a639805..5245b3941b2c 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -55,7 +55,6 @@ private:
sal_uInt16 nDlgType;
sal_uInt16 nPosDashLb;
sal_uInt16 nPosLineEndLb;
- sal_uInt16 mnPos;
sal_Bool mbAreaTP;
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx
index 54fafdf2477d..1916a80a64fd 100644
--- a/cui/source/inc/hlmarkwn.hxx
+++ b/cui/source/inc/hlmarkwn.hxx
@@ -72,7 +72,6 @@ private:
SvxHlmarkTreeLBox maLbTree;
sal_Bool mbUserMoved;
- sal_Bool mbFirst;
SvxHyperlinkTabPageBase* mpParent;
diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx
index 2f01b7b1cefa..874da64f261a 100644
--- a/cui/source/inc/hltpbase.hxx
+++ b/cui/source/inc/hltpbase.hxx
@@ -66,9 +66,6 @@ public:
/// ComboBox-Control for URL's with History and Autocompletion
class SvxHyperURLBox : public SvtURLBox, public DropTargetHelper
{
-private:
- sal_Bool mbAccessAddress;
-
protected:
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
@@ -79,7 +76,7 @@ protected:
virtual long PreNotify( NotifyEvent& rNEvt );
public:
- SvxHyperURLBox( Window* pParent, INetProtocol eSmart = INET_PROT_FILE, sal_Bool bAddresses = sal_False );
+ SvxHyperURLBox( Window* pParent, INetProtocol eSmart = INET_PROT_FILE );
};
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index 7049a2b12e5a..36b64a817a36 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -86,7 +86,6 @@ private :
String aUserString;
sal_Bool bHasExchangeSupport;
IconChoiceDialog* pDialog;
- sal_Bool bStandard;
void SetDialog( IconChoiceDialog* pNew ) { pDialog = pNew; }
IconChoiceDialog* GetDialog() const { return pDialog; }
diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx
index 30a8460d6a57..8bac666c3073 100644
--- a/cui/source/inc/macropg.hxx
+++ b/cui/source/inc/macropg.hxx
@@ -132,8 +132,6 @@ public:
void SetTabPage( SfxTabPage* pTabPage );
private:
- SfxViewFrame* pFrame;
-
FixedLine* pFixedLine;
OKButton* pOKBtn;
diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx
index 6338929dd289..d9ae1dc15dfb 100644
--- a/cui/source/inc/textanim.hxx
+++ b/cui/source/inc/textanim.hxx
@@ -109,7 +109,6 @@ public:
class SvxTextTabDialog : public SfxTabDialog
{
private:
- const SfxItemSet& rOutAttrs;
const SdrView* pView;
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index cdcf618c1880..0081d58acba6 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -218,7 +218,6 @@ private:
SfxMapUnit ePoolUnit;
FieldUnit eDlgUnit;
- MapUnit eMapUnit;
//------------------------------------
#if _SOLAR__PRIVATE
DECL_LINK( ModifiedHdl, void * );
@@ -268,7 +267,6 @@ private:
SfxMapUnit ePoolUnit;
FieldUnit eDlgUnit;
- MapUnit eMapUnit;
//------------------------------------
public:
SvxSlantTabPage( Window* pParent, const SfxItemSet& rInAttrs );
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index b58868866e75..0f1f6592b3ee 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -140,7 +140,6 @@ private:
sal_uInt16 nSizeLB_InitialSelection;
sal_uInt16 nStyleLB_InitialSelection;
- sal_Bool bSfxSymbolsAuto;
// item ID for the given icon theme
// might be zero when the theme is not installed and the item is removed
diff --git a/cui/source/tabpages/tabline.cxx b/cui/source/tabpages/tabline.cxx
index 286cb33ae2e2..bed657b8dfb9 100644
--- a/cui/source/tabpages/tabline.cxx
+++ b/cui/source/tabpages/tabline.cxx
@@ -72,7 +72,6 @@ SvxLineTabDialog::SvxLineTabDialog
nDlgType( 0 ),
nPosDashLb( 0 ),
nPosLineEndLb( 0 ),
- mnPos( 0 ),
mbAreaTP( sal_False )
{
FreeResource();
diff --git a/cui/source/tabpages/textanim.cxx b/cui/source/tabpages/textanim.cxx
index c0d9f3f146d9..6ef5aa070b52 100644
--- a/cui/source/tabpages/textanim.cxx
+++ b/cui/source/tabpages/textanim.cxx
@@ -59,7 +59,6 @@ SvxTextTabDialog::SvxTextTabDialog( Window* pParent,
const SfxItemSet* pAttr,
const SdrView* pSdrView ) :
SfxTabDialog ( pParent, CUI_RES( RID_SVXDLG_TEXT ), pAttr ),
- rOutAttrs ( *pAttr ),
pView ( pSdrView )
{
FreeResource();