summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxmenu.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-19 14:16:55 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-19 14:18:10 +0100
commit5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch)
treef891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /toolkit/source/awt/vclxmenu.cxx
parent2633b249ea6921645c57ab24a1c9ad0c8e61e144 (diff)
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'toolkit/source/awt/vclxmenu.cxx')
-rw-r--r--toolkit/source/awt/vclxmenu.cxx6
1 files changed, 3 insertions, 3 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 \
);