summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-16 09:13:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-16 10:15:36 +0200
commit27dadc070ec2c2a602d3c5b3494dd0bdc15c785f (patch)
tree79d9acfb57f8431b0ab224d9d2c6a5d2c840c540 /sfx2/source/inc
parent20a872d21602409cda873bb1f4830d50be3b6f8b (diff)
loplugin:singlevalfields in sfx2
pParent in SfxDispatch_Impl was always nullptr, which led to a bunch of dead code similarly with pParent in SfxWorkWindow Change-Id: I964a43fe094409ab4b6d1eda7225af997092e81c Reviewed-on: https://gerrit.libreoffice.org/61811 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/workwin.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index 5ae37b970810..7b37d065afa4 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -185,7 +185,6 @@ class SfxWorkWindow final
std::vector< SfxObjectBar_Impl > aObjBarList;
tools::Rectangle aClientArea;
tools::Rectangle aUpperClientArea;
- SfxWorkWindow* pParent;
VclPtr<SfxSplitWindow> pSplit[SFX_SPLITWINDOWS_MAX];
std::vector<SfxChild_Impl*>
aChildren;
@@ -236,8 +235,6 @@ public:
{ return bDockingAllowed; }
bool IsInternalDockingAllowed() const
{ return bInternalDockingAllowed; }
- SfxWorkWindow* GetParent_Impl() const
- { return pParent; }
// Methods for all Child windows
void DataChanged_Impl();
@@ -248,7 +245,7 @@ public:
bool PrepareClose_Impl();
void ArrangeChildren_Impl( bool bForce = true );
void DeleteControllers_Impl();
- void HidePopups_Impl(bool bHide, bool bParent, sal_uInt16 nId=0);
+ void HidePopups_Impl(bool bHide, sal_uInt16 nId=0);
void ConfigChild_Impl(SfxChildIdentifier,
SfxDockingConfig, sal_uInt16);
void MakeChildrenVisible_Impl( bool bVis );
@@ -261,8 +258,7 @@ public:
void UpdateObjectBars_Impl();
void UpdateObjectBars_Impl2();
void ResetObjectBars_Impl();
- void SetObjectBar_Impl(sal_uInt16 nPos, SfxVisibilityFlags nFlags, ToolbarId eId,
- SfxInterface *pIFace);
+ void SetObjectBar_Impl(sal_uInt16 nPos, SfxVisibilityFlags nFlags, ToolbarId eId);
bool IsVisible_Impl();
void MakeVisible_Impl( bool );
void Lock_Impl( bool );