summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/PaletteManager.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-17 18:58:05 +0300
committerTor Lillqvist <tml@collabora.com>2014-09-17 19:20:47 +0300
commit9de2ad3474e34383dfee6166d31983ba24ef0da8 (patch)
tree08cd3788ee530c471057974f5bc668605cbfda47 /svx/source/tbxctrls/PaletteManager.cxx
parenta9cd260ebb7bf5760eee536cd911780773c6051d (diff)
WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: Ie42cc9cbf13467d6c1644dc35e361250bd3a9533
Diffstat (limited to 'svx/source/tbxctrls/PaletteManager.cxx')
-rw-r--r--svx/source/tbxctrls/PaletteManager.cxx4
1 files changed, 2 insertions, 2 deletions
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;