diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-04 12:41:12 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-05 09:38:39 +0200 |
commit | 8664e88bc2006d6bcf477f7efafc0308b75a77d7 (patch) | |
tree | 293280ed72cd1483411cffd08ee0468a4622d3b1 /sd | |
parent | 661e6cf497b8a83543ff10b21a01f3590d1bf504 (diff) |
XubString to OUString
And simplify:
SdrMarkView::ImpTakeDescriptionStr
SdrUndoObj::GetDescriptionStringForObject
ImpTakeDescriptionStr checks for %1 occurence first, this seems to me like an
optimization. So I left it in.
Change-Id: I2d0ecfdf2b83a9a535bd893578837e549dd691c1
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index 95454ad4b95b..257d7fe67cc8 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -76,7 +76,7 @@ public: virtual void MouseButtonUp( const MouseEvent& rMEvt ); - sal_uInt16 InsertCategory( const XubString& rStr, sal_uInt16 nPos = LISTBOX_APPEND ); + sal_uInt16 InsertCategory( const OUString& rStr, sal_uInt16 nPos = LISTBOX_APPEND ); void SetDoubleClickLink( const Link& rDoubleClickHdl ) { maDoubleClickHdl = rDoubleClickHdl; } @@ -104,7 +104,7 @@ CategoryListBox::~CategoryListBox() { } -sal_uInt16 CategoryListBox::InsertCategory( const XubString& rStr, sal_uInt16 nPos /* = LISTBOX_APPEND */ ) +sal_uInt16 CategoryListBox::InsertCategory( const OUString& rStr, sal_uInt16 nPos /* = LISTBOX_APPEND */ ) { sal_uInt16 n = ListBox::InsertEntry( rStr, nPos ); if( n != LISTBOX_ENTRY_NOTFOUND ) |