[Libreoffice-commits] core.git: toolkit/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 19 07:31:06 PDT 2013
toolkit/source/awt/vclxmenu.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 7f3837b743201a758ef09dc2c148f76eea5008f6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 19 15:30:44 2013 +0100
Fix broken string cleanup
Change-Id: Ia33c4143d9ef070915c60361e472f032d22cd663
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index 6ea7cd6..3e5df7f 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
More information about the Libreoffice-commits
mailing list