From 3b8e53f66ffd4d631a850fe76250124dc4a195c3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 30 Sep 2021 09:40:29 +0200 Subject: loplugin:constparams improve handling of pointer params Change-Id: I4c0002e72703eded435bfe4985f5b0121bf8524b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122843 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sfx2/childwin.hxx | 2 +- include/sfx2/frame.hxx | 2 +- include/sfx2/viewsh.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/sfx2') diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index cccfa4d87a0b..66d125accaf5 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -152,7 +152,7 @@ public: SAL_DLLPRIVATE void SetWorkWindow_Impl( SfxWorkWindow* ); SAL_DLLPRIVATE void Activate_Impl(); - SAL_DLLPRIVATE void SetFactory_Impl( SfxChildWinFactory* ); + SAL_DLLPRIVATE void SetFactory_Impl( const SfxChildWinFactory* ); }; diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index 26af0c08f957..26560b3db1f6 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -134,7 +134,7 @@ public: SAL_DLLPRIVATE void CreateWorkWindow_Impl(); SAL_DLLPRIVATE void GrabFocusOnComponent_Impl(); - SAL_DLLPRIVATE void PrepareForDoc_Impl( SfxObjectShell& i_rDoc ); + SAL_DLLPRIVATE void PrepareForDoc_Impl( const SfxObjectShell& i_rDoc ); SAL_DLLPRIVATE void LockResize_Impl( bool bLock ); SAL_DLLPRIVATE void SetMenuBarOn_Impl( bool bOn ); SAL_DLLPRIVATE bool IsMenuBarOn_Impl() const; diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index f0d3938fe677..64b56e1c1293 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -296,7 +296,7 @@ public: void SetController( SfxBaseController* pController ); css::uno::Reference GetController() const; - bool TryContextMenuInterception( Menu& rIn, const OUString& rMenuIdentifier, VclPtr& rpOut, css::ui::ContextMenuExecuteEvent aEvent ); + bool TryContextMenuInterception( const Menu& rIn, const OUString& rMenuIdentifier, VclPtr& rpOut, css::ui::ContextMenuExecuteEvent aEvent ); bool TryContextMenuInterception( Menu& rMenu, const OUString& rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent ); void ExecPrint( const css::uno::Sequence < css::beans::PropertyValue >&, bool, bool ); -- cgit