diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 09:40:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 11:24:33 +0200 |
commit | 3b8e53f66ffd4d631a850fe76250124dc4a195c3 (patch) | |
tree | 2613882a4876f0a66324b7e29e61c46b3ec451b0 /include/sfx2 | |
parent | d242a19dbdd53b7ae0b6a6ceacca6aa1b6ac54a9 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/childwin.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/frame.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/viewsh.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
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<css::frame::XController> GetController() const; - bool TryContextMenuInterception( Menu& rIn, const OUString& rMenuIdentifier, VclPtr<Menu>& rpOut, css::ui::ContextMenuExecuteEvent aEvent ); + bool TryContextMenuInterception( const Menu& rIn, const OUString& rMenuIdentifier, VclPtr<Menu>& 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 ); |