From 9de2ad3474e34383dfee6166d31983ba24ef0da8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 17 Sep 2014 18:58:05 +0300 Subject: WaE: passing class rtl::OUString by value, rather pass by reference Change-Id: Ie42cc9cbf13467d6c1644dc35e361250bd3a9533 --- svx/source/tbxctrls/PaletteManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/tbxctrls') diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 101c00244fe3..df4c4b898255 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -204,7 +204,7 @@ void PaletteManager::SetBtnUpdater(svx::ToolboxButtonColorUpdater* pBtnUpdater) mpBtnUpdater = pBtnUpdater; } -void PaletteManager::PopupColorPicker(const OUString aCommand) +void PaletteManager::PopupColorPicker(const OUString& aCommand) { SvColorDialog aColorDlg( 0 ); aColorDlg.SetColor ( mLastColor ); @@ -218,7 +218,7 @@ void PaletteManager::PopupColorPicker(const OUString aCommand) } } -void PaletteManager::DispatchColorCommand(const OUString aCommand, const Color aColor) +void PaletteManager::DispatchColorCommand(const OUString& aCommand, const Color aColor) { using namespace css::uno; using namespace css::frame; -- cgit