summaryrefslogtreecommitdiff
path: root/include/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 17:44:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 09:19:54 +0200
commit039d9b97b720d9dc735413b292382104b63014d5 (patch)
treee366b57f1bf03ded002414f52bccddf98fb94e2e /include/framework
parentc0565f7011fa6d6b295e522c023127970ccce822 (diff)
loplugin:constparams in framework
Change-Id: Iecd19a0cbb3cc78158c17bfa064cc23bafc44b18 Reviewed-on: https://gerrit.libreoffice.org/40206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/framework')
-rw-r--r--include/framework/actiontriggerhelper.hxx2
-rw-r--r--include/framework/addonmenu.hxx2
-rw-r--r--include/framework/menuconfiguration.hxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/include/framework/actiontriggerhelper.hxx b/include/framework/actiontriggerhelper.hxx
index 392e5dceae2b..986f3373a605 100644
--- a/include/framework/actiontriggerhelper.hxx
+++ b/include/framework/actiontriggerhelper.hxx
@@ -56,7 +56,7 @@ namespace framework
// @param pNewMenu = must be a valid menu
static void
FillActionTriggerContainerFromMenu(
- css::uno::Reference< css::container::XIndexContainer >& rActionTriggerContainer,
+ css::uno::Reference< css::container::XIndexContainer > const & rActionTriggerContainer,
const Menu* pMenu );
};
diff --git a/include/framework/addonmenu.hxx b/include/framework/addonmenu.hxx
index 363982f777d1..1f3f8923e062 100644
--- a/include/framework/addonmenu.hxx
+++ b/include/framework/addonmenu.hxx
@@ -47,7 +47,7 @@ class FWE_DLLPUBLIC AddonMenuManager
// Merge the Add-Ons help menu items into the given menu bar at a defined pos
static void MergeAddonHelpMenu( const css::uno::Reference< css::frame::XFrame >& rFrame,
- MenuBar* pMergeMenuBar );
+ MenuBar const * pMergeMenuBar );
// Merge the addon popup menus into the given menu bar at the provided pos.
static void MergeAddonPopupMenus( const css::uno::Reference< css::frame::XFrame >& rFrame,
diff --git a/include/framework/menuconfiguration.hxx b/include/framework/menuconfiguration.hxx
index 8d59b547a97a..5b0a7f25f685 100644
--- a/include/framework/menuconfiguration.hxx
+++ b/include/framework/menuconfiguration.hxx
@@ -95,13 +95,13 @@ public:
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
css::uno::Reference< css::container::XIndexAccess > CreateMenuBarConfigurationFromXML(
- css::uno::Reference< css::io::XInputStream >& rInputStream );
+ css::uno::Reference< css::io::XInputStream > const & rInputStream );
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
void StoreMenuBarConfigurationToXML(
- css::uno::Reference< css::container::XIndexAccess >& rMenuBarConfiguration,
- css::uno::Reference< css::io::XOutputStream >& rOutputStream,
+ css::uno::Reference< css::container::XIndexAccess > const & rMenuBarConfiguration,
+ css::uno::Reference< css::io::XOutputStream > const & rOutputStream,
bool bIsMenuBar );
private: