summaryrefslogtreecommitdiff
path: root/sfx2/source/control/dispatch.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 09:27:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 11:39:01 +0200
commit7ed178077cc1348d72ae936a2762085e278d79d0 (patch)
tree647c72fc783a77f2347ee06a63e22eee79fef99c /sfx2/source/control/dispatch.cxx
parentbc7a68d06c0fd92b8eda473600438fd6dc2164c6 (diff)
loplugin:constparams in sfx2
Change-Id: Id982c8fb5654433e9db10e2da6a86a6c8d90b9b4 Reviewed-on: https://gerrit.libreoffice.org/40261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r--sfx2/source/control/dispatch.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 5e9f12f7fc35..1cafc6d351d0 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -313,7 +313,7 @@ bool SfxDispatcher::IsAppDispatcher() const
}
/// Decides if the request is FASTCALL or not, depending on arguments.
-bool lcl_IsConditionalFastCall(SfxRequest &rReq)
+bool lcl_IsConditionalFastCall(SfxRequest const &rReq)
{
sal_uInt16 nId = rReq.GetSlot();
bool bRet = false;
@@ -761,7 +761,7 @@ void SfxDispatcher::DoActivate_Impl(bool bMDI)
are called with the handler <SfxShell::Deactivate(bool)>, starting with
the lowest.
*/
-void SfxDispatcher::DoDeactivate_Impl(bool bMDI, SfxViewFrame* pNew)
+void SfxDispatcher::DoDeactivate_Impl(bool bMDI, SfxViewFrame const * pNew)
{
SFX_STACK(SfxDispatcher::DoDeactivate);
@@ -940,7 +940,7 @@ const SfxSlot* SfxDispatcher::GetSlot( const OUString& rCommand )
}
const SfxPoolItem* SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode nCall,
- SfxItemSet* pArgs, SfxItemSet* pInternalArgs, sal_uInt16 nModi)
+ SfxItemSet const * pArgs, SfxItemSet const * pInternalArgs, sal_uInt16 nModi)
{
if ( IsLocked() )
return nullptr;