diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:16:55 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:18:10 +0100 |
commit | 5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch) | |
tree | f891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /toolkit | |
parent | 2633b249ea6921645c57ab24a1c9ad0c8e61e144 (diff) |
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxmenu.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/controls/formattedcontrol.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index 154c265619d4..6ea7cd608f62 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -40,16 +40,16 @@ if ( MENU_ITEM_NOTFOUND == mpMenu->GetItemPos( nItemId ) ) \ throw ::com::sun::star::container::NoSuchElementException( \ OUString( Func ) \ - += OUString( ": There is no menu item with " ) \ + += ": There is no menu item with " \ += OUString::valueOf( sal_Int32( nItemId ) ) \ - += OUString( " as identifier" ), \ + += " as identifier", \ *this \ ); #define THROW_MENUPOS_NOT_FOUND( Func, nPos ) \ if ( MENU_ITEM_NOTFOUND == sal_uInt16( nPos ) ) \ throw ::com::sun::star::container::NoSuchElementException( \ OUString( Func ) \ - += OUString( ": There is no menu item at position " ) \ + += ": There is no menu item at position " \ += OUString::valueOf( sal_Int32( nPos ) ), \ *this \ ); diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 51af6be8d042..1ed4fd4b5848 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -364,7 +364,7 @@ namespace toolkit throw IllegalArgumentException( ( OUString("Unable to convert the given value for the property ") += GetPropertyName((sal_uInt16)nPropId) ) - += OUString(" (double, integer, or string expected)."), + += " (double, integer, or string expected).", static_cast< XPropertySet* >(this), 1); } |