summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 09:13:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-15 12:56:26 +0000
commit0d051730156f633150fa9e3107fe97cf7be6d8f9 (patch)
tree73a29cd8f7f6c3630088c74f52cb53c948eb4ba5 /sfx2
parentd2e9d3d0ed42f0fc24255c64546d8d256ca33aae (diff)
loplugin:constantparam
Change-Id: Iced8ff99d52d55e6b6c3126affafbea6786e94f0 Reviewed-on: https://gerrit.libreoffice.org/30858 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/dispatch.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 80936ae91a69..71cd48bd5466 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -418,7 +418,7 @@ void SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest
}
}
-void SfxDispatcher::Construct_Impl( SfxDispatcher* pParent )
+void SfxDispatcher::Construct_Impl()
{
xImp.reset(new SfxDispatcher_Impl);
xImp->bFlushed = true;
@@ -438,7 +438,7 @@ void SfxDispatcher::Construct_Impl( SfxDispatcher* pParent )
xImp->pFilterSIDs = nullptr;
xImp->nDisableFlags = 0;
- xImp->pParent = pParent;
+ xImp->pParent = nullptr;
xImp->bInvalidateOnUnlock = false;
@@ -455,7 +455,7 @@ void SfxDispatcher::Construct_Impl( SfxDispatcher* pParent )
SfxDispatcher::SfxDispatcher()
{
- Construct_Impl( nullptr );
+ Construct_Impl();
xImp->pFrame = nullptr;
}
@@ -464,7 +464,7 @@ SfxDispatcher::SfxDispatcher()
*/
SfxDispatcher::SfxDispatcher(SfxViewFrame *pViewFrame)
{
- Construct_Impl( nullptr );
+ Construct_Impl();
xImp->pFrame = pViewFrame;
}