summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-23 20:45:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-24 08:55:25 +0100
commitfc67191ba272607655a9167b23054a7821cdd808 (patch)
tree48649afba01fbaef555d1f526fcc6f2790753077 /vcl/source/window/toolbox2.cxx
parent570fe620e9d573cfc9fc260e6518563c6a6c1a3c (diff)
XubString->OUString
Change-Id: Ie6b44d1f4abe1826254ab5bb178d73606bd1283c
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r--vcl/source/window/toolbox2.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 05afd1a33bd3..1da3f821df8d 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1795,24 +1795,24 @@ sal_Bool ToolBox::IsItemReallyVisible( sal_uInt16 nItemId ) const
// -----------------------------------------------------------------------
-void ToolBox::SetItemCommand( sal_uInt16 nItemId, const XubString& rCommand )
+void ToolBox::SetItemCommand(sal_uInt16 nItemId, const OUString& rCommand)
{
ImplToolItem* pItem = ImplGetItem( nItemId );
- if ( pItem )
+ if (pItem)
pItem->maCommandStr = rCommand;
}
// -----------------------------------------------------------------------
-const XubString& ToolBox::GetItemCommand( sal_uInt16 nItemId ) const
+const OUString ToolBox::GetItemCommand( sal_uInt16 nItemId ) const
{
ImplToolItem* pItem = ImplGetItem( nItemId );
- if ( pItem )
+ if (pItem)
return pItem->maCommandStr;
- else
- return ImplGetSVEmptyStr();
+
+ return OUString();
}
// -----------------------------------------------------------------------