summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-16 08:33:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-16 09:47:01 +0200
commit4e05ae6a6b90f8e840186a00010c5e6ca1580548 (patch)
treeed94b6f7c6f75fc1f409810cdeb97a23138b3580 /sfx2/inc
parenta71e7b108c7041ebc7cb99d1d2d53358140d8e30 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I7162523a26488b8528a91ec7abd587f55647acbb
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/basedlgs.hxx1
-rw-r--r--sfx2/inc/sfx2/hintpost.hxx1
-rw-r--r--sfx2/inc/sfx2/mnuitem.hxx1
-rw-r--r--sfx2/inc/sfx2/objsh.hxx3
-rw-r--r--sfx2/inc/sfx2/sfxhtml.hxx1
-rw-r--r--sfx2/inc/sfx2/tbxctrl.hxx1
-rw-r--r--sfx2/inc/sfx2/viewfac.hxx4
-rw-r--r--sfx2/inc/sfx2/viewsh.hxx2
8 files changed, 3 insertions, 11 deletions
diff --git a/sfx2/inc/sfx2/basedlgs.hxx b/sfx2/inc/sfx2/basedlgs.hxx
index 13a482a4d669..cc90161cb78c 100644
--- a/sfx2/inc/sfx2/basedlgs.hxx
+++ b/sfx2/inc/sfx2/basedlgs.hxx
@@ -187,7 +187,6 @@ public:
private:
GetTabPageRanges fnGetRanges;
- sal_uInt16* pRanges;
OKButton* pOKBtn;
CancelButton* pCancelBtn;
diff --git a/sfx2/inc/sfx2/hintpost.hxx b/sfx2/inc/sfx2/hintpost.hxx
index a46065c62c27..25adb3ea3d58 100644
--- a/sfx2/inc/sfx2/hintpost.hxx
+++ b/sfx2/inc/sfx2/hintpost.hxx
@@ -43,7 +43,6 @@ class SfxHintPoster: public SvRefBase
*/
{
- sal_uIntPtr nId;
GenLink aLink;
private:
diff --git a/sfx2/inc/sfx2/mnuitem.hxx b/sfx2/inc/sfx2/mnuitem.hxx
index e3f426ab0c7c..e65220be2a13 100644
--- a/sfx2/inc/sfx2/mnuitem.hxx
+++ b/sfx2/inc/sfx2/mnuitem.hxx
@@ -39,7 +39,6 @@ class SFX2_DLLPUBLIC SfxMenuControl: public SfxControllerItem
SfxVirtualMenu* pOwnMenu;
SfxVirtualMenu* pSubMenu;
sal_Bool b_ShowStrings;
- sal_Bool b_UnusedDummy;
public:
SfxMenuControl();
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx
index 7426d7a254b1..5e96dc80a828 100644
--- a/sfx2/inc/sfx2/objsh.hxx
+++ b/sfx2/inc/sfx2/objsh.hxx
@@ -768,11 +768,10 @@ SV_IMPL_REF(SfxObjectShell)
class AutoReloadTimer_Impl : public Timer
{
String aUrl;
- sal_Bool bReload;
SfxObjectShell* pObjSh;
public:
- AutoReloadTimer_Impl( const String& rURL, sal_uInt32 nTime, sal_Bool bReloadP,
+ AutoReloadTimer_Impl( const String& rURL, sal_uInt32 nTime,
SfxObjectShell* pSh );
virtual void Timeout();
};
diff --git a/sfx2/inc/sfx2/sfxhtml.hxx b/sfx2/inc/sfx2/sfxhtml.hxx
index 971d79390b42..e5e8c174caf3 100644
--- a/sfx2/inc/sfx2/sfxhtml.hxx
+++ b/sfx2/inc/sfx2/sfxhtml.hxx
@@ -39,7 +39,6 @@ class SFX2_DLLPUBLIC SfxHTMLParser : public HTMLParser
SfxMedium* pMedium;
SfxMedium *pDLMedium; // Medium for Download Files
- sal_uInt16 nMetaTags; // Number of previously read Meta-Tags
ScriptType eScriptType;
SAL_DLLPRIVATE void GetScriptType_Impl( SvKeyValueIterator* );
diff --git a/sfx2/inc/sfx2/tbxctrl.hxx b/sfx2/inc/sfx2/tbxctrl.hxx
index e8a11c434f67..b0c35990c0e2 100644
--- a/sfx2/inc/sfx2/tbxctrl.hxx
+++ b/sfx2/inc/sfx2/tbxctrl.hxx
@@ -347,7 +347,6 @@ protected:
DECL_LINK( Activate, Menu * );
private:
String aLastURL;
- sal_Bool bBigImages;
PopupMenu* pMenu;
sal_uIntPtr m_nSymbolsStyle;
sal_Bool m_bShowMenuImages;
diff --git a/sfx2/inc/sfx2/viewfac.hxx b/sfx2/inc/sfx2/viewfac.hxx
index b5dae35fc714..3348cb69d199 100644
--- a/sfx2/inc/sfx2/viewfac.hxx
+++ b/sfx2/inc/sfx2/viewfac.hxx
@@ -29,13 +29,12 @@ class SfxViewShell;
class Window;
typedef SfxViewShell* (*SfxViewCtor)(SfxViewFrame*, SfxViewShell*);
-typedef void (*SfxViewInit)();
// CLASS -----------------------------------------------------------------
class SFX2_DLLPUBLIC SfxViewFactory
{
public:
- SfxViewFactory( SfxViewCtor fnC, SfxViewInit fnI,
+ SfxViewFactory( SfxViewCtor fnC,
sal_uInt16 nOrdinal, const sal_Char* asciiViewName );
SfxViewShell *CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
@@ -53,7 +52,6 @@ public:
private:
SfxViewCtor fnCreate;
- SfxViewInit fnInit;
sal_uInt16 nOrd;
const String m_sViewName;
};
diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx
index ff42068596ff..3c9387c4149d 100644
--- a/sfx2/inc/sfx2/viewsh.hxx
+++ b/sfx2/inc/sfx2/viewsh.hxx
@@ -113,7 +113,7 @@ public: \
{ return new Class(pFrame, pOldView); } \
void Class::RegisterFactory( sal_uInt16 nPrio ) \
{ \
- pFactory = new SfxViewFactory(&CreateInstance,&InitFactory,nPrio,AsciiViewName);\
+ pFactory = new SfxViewFactory(&CreateInstance,nPrio,AsciiViewName);\
InitFactory(); \
} \
void Class::InitFactory()