From 7f3837b743201a758ef09dc2c148f76eea5008f6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 19 Mar 2013 15:30:44 +0100 Subject: Fix broken string cleanup Change-Id: Ia33c4143d9ef070915c60361e472f032d22cd663 --- toolkit/source/awt/vclxmenu.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'toolkit') 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 -- cgit