summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-19 15:30:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-19 15:30:44 +0100
commit7f3837b743201a758ef09dc2c148f76eea5008f6 (patch)
treeae0dabfe470bcdb9734d2dfccd5f62856a7a41a4 /toolkit
parent7b0d4848e6cd67b33cf86c06582225cd1c5fbb9d (diff)
Fix broken string cleanup
Change-Id: Ia33c4143d9ef070915c60361e472f032d22cd663
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxmenu.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index 6ea7cd608f62..3e5df7f09371 100644
--- a/toolkit/source/awt/vclxmenu.cxx
+++ b/toolkit/source/awt/vclxmenu.cxx
@@ -39,18 +39,18 @@
#define THROW_MENUITEM_NOT_FOUND( Func, nItemId ) \
if ( MENU_ITEM_NOTFOUND == mpMenu->GetItemPos( nItemId ) ) \
throw ::com::sun::star::container::NoSuchElementException( \
- OUString( Func ) \
- += ": There is no menu item with " \
- += OUString::valueOf( sal_Int32( nItemId ) ) \
- += " as identifier", \
+ Func \
+ ": There is no menu item with " \
+ + OUString::valueOf( sal_Int32( nItemId ) ) \
+ + " 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 ) \
- += ": There is no menu item at position " \
- += OUString::valueOf( sal_Int32( nPos ) ), \
+ Func \
+ ": There is no menu item at position " \
+ + OUString::valueOf( sal_Int32( nPos ) ), \
*this \
);
#else