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/viewsh.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sfx2/viewsh.hxx') 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