summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-23 13:54:56 +0200
committerNoel Grandin <noel@peralex.com>2015-11-24 08:05:01 +0200
commitc65b2347648fc2c0752b981896cc6c2c7b7020f9 (patch)
tree689d6be90d3b4c9c904893e78b974ca66e612a5a /sw/source/uibase
parentc43ee8d54ad44e01d0bba404e719d2b03a73959e (diff)
loplugin:unusedfields in sw/
Change-Id: I975f35031b1833be376881d534dc6f91fae6072f
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/dbui/dbtree.cxx1
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx1
-rw-r--r--sw/source/uibase/inc/dbinsdlg.hxx4
-rw-r--r--sw/source/uibase/inc/fldmgr.hxx1
-rw-r--r--sw/source/uibase/inc/formedt.hxx5
-rw-r--r--sw/source/uibase/inc/navipi.hxx1
-rw-r--r--sw/source/uibase/inc/num.hxx7
-rw-r--r--sw/source/uibase/inc/textsh.hxx1
-rw-r--r--sw/source/uibase/shells/textsh.cxx2
-rw-r--r--sw/source/uibase/utlui/navipi.cxx1
10 files changed, 2 insertions, 22 deletions
diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx
index 26106097cfdf..a4eca985305c 100644
--- a/sw/source/uibase/dbui/dbtree.cxx
+++ b/sw/source/uibase/dbui/dbtree.cxx
@@ -63,7 +63,6 @@ using namespace ::com::sun::star::beans;
struct SwConnectionData
{
- OUString sSourceName;
Reference<XConnection> xConnection;
};
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index cd0c9a0a9d18..673cac073f11 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -217,7 +217,6 @@ inline sal_uInt16 GetPackCount() { return sizeof(aSwFields) / sizeof(SwFieldPac
// FieldManager controls inserting and updating of fields
SwFieldMgr::SwFieldMgr(SwWrtShell* pSh ) :
- pModule(nullptr),
pMacroItem(nullptr),
pWrtShell(pSh),
bEvalExp(true)
diff --git a/sw/source/uibase/inc/dbinsdlg.hxx b/sw/source/uibase/inc/dbinsdlg.hxx
index 59c1b5fd1561..1313e4e9425a 100644
--- a/sw/source/uibase/inc/dbinsdlg.hxx
+++ b/sw/source/uibase/inc/dbinsdlg.hxx
@@ -63,16 +63,14 @@ struct SwInsDBColumn
sal_Int32 nDBNumFormat;
sal_uInt32 nUsrNumFormat;
LanguageType eUsrNumFormatLng;
- sal_uInt16 nCol;
bool bHasFormat : 1;
bool bIsDBFormat : 1;
- SwInsDBColumn( const OUString& rStr, sal_uInt16 nColumn )
+ SwInsDBColumn( const OUString& rStr )
: sColumn( rStr ),
nDBNumFormat( 0 ),
nUsrNumFormat( 0 ),
eUsrNumFormatLng( LANGUAGE_SYSTEM ),
- nCol( nColumn ),
bHasFormat(false),
bIsDBFormat(true)
{}
diff --git a/sw/source/uibase/inc/fldmgr.hxx b/sw/source/uibase/inc/fldmgr.hxx
index a8bdfc427c8e..832dfd360adf 100644
--- a/sw/source/uibase/inc/fldmgr.hxx
+++ b/sw/source/uibase/inc/fldmgr.hxx
@@ -100,7 +100,6 @@ class SW_DLLPUBLIC SwFieldMgr
{
private:
SwField* pCurField;
- SbModule* pModule;
const SvxMacroItem* pMacroItem;
SwWrtShell* pWrtShell; // can be ZERO too!
OUString aCurPar1;
diff --git a/sw/source/uibase/inc/formedt.hxx b/sw/source/uibase/inc/formedt.hxx
index 9439c4ab969c..320d2276edf2 100644
--- a/sw/source/uibase/inc/formedt.hxx
+++ b/sw/source/uibase/inc/formedt.hxx
@@ -57,11 +57,6 @@ class SwIdxFormDlg : public SvxStandardDialog
VclPtr<PushButton> m_aAssignBT;
VclPtr<FixedLine> m_aFormatFL;
- SwWrtShell &m_rSh;
- SwForm *m_pForm;
- sal_uInt16 m_nAktLevel;
- bool m_bLastLinkIsEnd;
-
public:
SwIdxFormDlg( vcl::Window* pParent, SwWrtShell &rShell, const SwForm& rForm );
virtual ~SwIdxFormDlg();
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx
index 5d74116ab635..761f495f7e70 100644
--- a/sw/source/uibase/inc/navipi.hxx
+++ b/sw/source/uibase/inc/navipi.hxx
@@ -90,7 +90,6 @@ class SwNavigationPI : public vcl::Window,
short m_nZoomOutInit;
short m_nZoomOut;
- bool m_bSmallMode : 1;
bool m_bIsZoomedIn : 1;
bool m_bPageCtrlsVisible : 1;
bool m_bGlobalMode : 1;
diff --git a/sw/source/uibase/inc/num.hxx b/sw/source/uibase/inc/num.hxx
index de8d9e5618c0..fb5880bd7c36 100644
--- a/sw/source/uibase/inc/num.hxx
+++ b/sw/source/uibase/inc/num.hxx
@@ -36,13 +36,6 @@ class SwWrtShell;
class SvxBrushItem;
class SwOutlineTabDialog;
-struct SwBmpItemInfo
-{
- SvxBrushItem* pBrushItem;
- sal_uInt16 nItemId;
-};
-
-
class SwNumPositionTabPage : public SfxTabPage
{
VclPtr<ListBox> m_pLevelLB;
diff --git a/sw/source/uibase/inc/textsh.hxx b/sw/source/uibase/inc/textsh.hxx
index 9abef5b0d499..e28067d44830 100644
--- a/sw/source/uibase/inc/textsh.hxx
+++ b/sw/source/uibase/inc/textsh.hxx
@@ -30,7 +30,6 @@ class SvxHyperlinkItem;
class SW_DLLPUBLIC SwTextShell: public SwBaseShell
{
- SwFieldMgr* pPostItFieldMgr;
RotateTransliteration m_aRotateCase;
void InsertSymbol( SfxRequest& );
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index c0d542ec8aa2..2ea08ce09815 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -925,7 +925,7 @@ void SwTextShell::ExecRotateTransliteration( SfxRequest & rReq )
}
SwTextShell::SwTextShell(SwView &_rView) :
- SwBaseShell(_rView), pPostItFieldMgr( nullptr )
+ SwBaseShell(_rView)
{
SetName("Text");
SetHelpId(SW_TEXTSHELL);
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 8a26ff77283b..149d047a3cb7 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -665,7 +665,6 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
m_nAutoMarkIdx(1),
m_nRegionMode(RegionMode::NONE),
- m_bSmallMode(false),
m_bIsZoomedIn(false),
m_bPageCtrlsVisible(false),
m_bGlobalMode(false)