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/inc | |
parent | 230cd638676fc5adf7e3fe5e69d29eadb194d7f8 (diff) |
clang-tidy performance-unnecessary-value-param in framework
Change-Id: I80987ea1bfac7478574de46ee30fc58fcc17eb68
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/classes/actiontriggerpropertyset.hxx | 8 | ||||
-rw-r--r-- | framework/inc/dispatch/dispatchprovider.hxx | 6 | ||||
-rw-r--r-- | framework/inc/recording/dispatchrecorder.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uielement/toolbarmanager.hxx | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx index 0b901422101f..a1cddc6eefd1 100644 --- a/framework/inc/classes/actiontriggerpropertyset.hxx +++ b/framework/inc/classes/actiontriggerpropertyset.hxx @@ -94,13 +94,13 @@ class ActionTriggerPropertySet : private cppu::BaseMutex, css::uno::Any& aOldValue , css::uno::Any& aConvertedValue ) throw( css::lang::IllegalArgumentException ); - bool impl_tryToChangeProperty( const css::uno::Reference< css::awt::XBitmap > xBitmap, - const css::uno::Any& aNewValue , + bool impl_tryToChangeProperty( const css::uno::Reference< css::awt::XBitmap >& xBitmap, + const css::uno::Any& aNewValue , css::uno::Any& aOldValue , css::uno::Any& aConvertedValue ) throw( css::lang::IllegalArgumentException ); - bool impl_tryToChangeProperty( const css::uno::Reference< css::uno::XInterface > xInterface, - const css::uno::Any& aNewValue , + bool impl_tryToChangeProperty( const css::uno::Reference< css::uno::XInterface >& xInterface, + const css::uno::Any& aNewValue , css::uno::Any& aOldValue , css::uno::Any& aConvertedValue ) throw( css::lang::IllegalArgumentException ); diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx index dee2bdb517fe..945fbaa83d4c 100644 --- a/framework/inc/dispatch/dispatchprovider.hxx +++ b/framework/inc/dispatch/dispatchprovider.hxx @@ -103,12 +103,12 @@ class DispatchProvider: public ::cppu::WeakImplHelper< css::frame::XDispatchProv const css::uno::Reference< css::frame::XFrame >& xOwner , const OUString& sTarget = OUString() , sal_Int32 nSearchFlags = 0 ); - bool implts_isLoadableContent ( const css::util::URL& aURL ); - css::uno::Reference< css::frame::XDispatch > implts_queryDesktopDispatch ( const css::uno::Reference< css::frame::XFrame > xDesktop , + bool implts_isLoadableContent ( const css::util::URL& aURL ); + css::uno::Reference< css::frame::XDispatch > implts_queryDesktopDispatch ( const css::uno::Reference< css::frame::XFrame >& xDesktop , const css::util::URL& aURL , const OUString& sTargetFrameName , sal_Int32 nSearchFlags ); - css::uno::Reference< css::frame::XDispatch > implts_queryFrameDispatch ( const css::uno::Reference< css::frame::XFrame > xFrame , + css::uno::Reference< css::frame::XDispatch > implts_queryFrameDispatch ( const css::uno::Reference< css::frame::XFrame >& xFrame , const css::util::URL& aURL , const OUString& sTargetFrameName , sal_Int32 nSearchFlags ); diff --git a/framework/inc/recording/dispatchrecorder.hxx b/framework/inc/recording/dispatchrecorder.hxx index 738a06100189..a03f6f16c7f2 100644 --- a/framework/inc/recording/dispatchrecorder.hxx +++ b/framework/inc/recording/dispatchrecorder.hxx @@ -86,7 +86,7 @@ class DispatchRecorder void SAL_CALL implts_recordMacro( const OUString& aURL, const css::uno::Sequence< css::beans::PropertyValue >& lArguments, bool bAsComment, OUStringBuffer& ); - void SAL_CALL AppendToBuffer( css::uno::Any aValue, OUStringBuffer& aArgumentBuffer ); + void SAL_CALL AppendToBuffer( const css::uno::Any& aValue, OUStringBuffer& aArgumentBuffer ); }; // class DispatcRecorder diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index be165b4302d9..41e2539174f8 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -138,7 +138,7 @@ class ToolBarManager : public ToolbarManager_Base void CreateControllers(); void UpdateControllers(); //for update controller via Support Visiable - void UpdateController( css::uno::Reference< css::frame::XToolbarController > xController); + void UpdateController( const css::uno::Reference< css::frame::XToolbarController >& xController); //end void AddFrameActionListener(); void ImplClearPopupMenu( ToolBox *pToolBar ); |