diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-12 11:56:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 11:56:07 +0200 |
commit | f045c536db5bdeacd36c075d3428e1a644bbc348 (patch) | |
tree | 1d711c60244d9c578f5e7b04352956f951c12f22 /framework/source/fwe/helper | |
parent | 230cd638676fc5adf7e3fe5e69d29eadb194d7f8 (diff) |
clang-tidy performance-unnecessary-value-param in framework
Change-Id: I80987ea1bfac7478574de46ee30fc58fcc17eb68
Diffstat (limited to 'framework/source/fwe/helper')
-rw-r--r-- | framework/source/fwe/helper/actiontriggerhelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/fwe/helper/actiontriggerhelper.cxx b/framework/source/fwe/helper/actiontriggerhelper.cxx index 2bb7593cc970..3749606f7c3f 100644 --- a/framework/source/fwe/helper/actiontriggerhelper.cxx +++ b/framework/source/fwe/helper/actiontriggerhelper.cxx @@ -45,7 +45,7 @@ namespace framework // implementation helper ( menu => ActionTrigger ) -bool IsSeparator( Reference< XPropertySet > xPropertySet ) +bool IsSeparator( const Reference< XPropertySet >& xPropertySet ) { Reference< XServiceInfo > xServiceInfo( xPropertySet, UNO_QUERY ); try @@ -59,7 +59,7 @@ bool IsSeparator( Reference< XPropertySet > xPropertySet ) return false; } -void GetMenuItemAttributes( Reference< XPropertySet > xActionTriggerPropertySet, +void GetMenuItemAttributes( const Reference< XPropertySet >& xActionTriggerPropertySet, OUString& aMenuLabel, OUString& aCommandURL, OUString& aHelpURL, @@ -95,7 +95,7 @@ void GetMenuItemAttributes( Reference< XPropertySet > xActionTriggerPropertySet, } } -void InsertSubMenuItems( Menu* pSubMenu, sal_uInt16& nItemId, Reference< XIndexContainer > xActionTriggerContainer ) +void InsertSubMenuItems( Menu* pSubMenu, sal_uInt16& nItemId, const Reference< XIndexContainer >& xActionTriggerContainer ) { if ( xActionTriggerContainer.is() ) { |