summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-19 10:52:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-19 11:23:57 +0000
commit778e9a65bf5af07c4caeff969a0324e43a78e66b (patch)
treea5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /sfx2
parent541c4c4509863beb7babe361b31e27f7295e3069 (diff)
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/inc/workwin.hxx4
-rw-r--r--sfx2/source/view/impviewframe.hxx3
2 files changed, 1 insertions, 6 deletions
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index a54cb823da56..e4fa1d660c4d 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -43,13 +43,12 @@ class SfxSplitWindow;
class SfxWorkWindow;
-// This struct makes all relevant Informationen available of Toolboxes
+// This struct makes all relevant Information available of Toolboxes
struct SfxObjectBar_Impl
{
sal_uInt16 nId; // Resource - and ConfigId of Toolbox
sal_uInt16 nMode; // special visibility flags
sal_uInt16 nPos;
- sal_uInt16 nIndex;
bool bDestroy;
SfxInterface* pIFace;
@@ -57,7 +56,6 @@ struct SfxObjectBar_Impl
nId(0),
nMode(0),
nPos(0),
- nIndex(0),
bDestroy(false),
pIFace(nullptr)
{}
diff --git a/sfx2/source/view/impviewframe.hxx b/sfx2/source/view/impviewframe.hxx
index 250666309de0..d9c5e9bd25c1 100644
--- a/sfx2/source/view/impviewframe.hxx
+++ b/sfx2/source/view/impviewframe.hxx
@@ -34,7 +34,6 @@ struct SfxViewFrame_Impl
Size aSize;
OUString aActualURL;
SfxFrame& rFrame;
- svtools::AsynchronLink* pReloader;
VclPtr<vcl::Window> pWindow;
SfxViewFrame* pActiveChild;
VclPtr<vcl::Window> pFocusWin;
@@ -53,7 +52,6 @@ struct SfxViewFrame_Impl
explicit SfxViewFrame_Impl(SfxFrame& i_rFrame)
: rFrame(i_rFrame)
- , pReloader(nullptr)
, pWindow(nullptr)
, pActiveChild(nullptr)
, pFocusWin(nullptr)
@@ -73,7 +71,6 @@ struct SfxViewFrame_Impl
~SfxViewFrame_Impl()
{
- delete pReloader;
}
};