diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-07 12:04:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-07 16:17:52 +0000 |
commit | 6773db03a657413a24b87e9ef3a6c68020936e0e (patch) | |
tree | 9944195abaf8ce6b344a172edae69d14bf1b0ffb /toolkit | |
parent | b2a106249f1624a61a9453bf50f1a17d75ea1825 (diff) |
allow menu items to be referred to by a name
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxmenu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index be0712a0e152..aa7bcc1361e2 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -407,7 +407,7 @@ void VCLXMenu::insertItem( sal_Int16 nItemId, const ::rtl::OUString& aText, sal_ ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); if ( mpMenu ) - mpMenu->InsertItem( nItemId, aText, (MenuItemBits)nItemStyle, nPos ); + mpMenu->InsertItem(nItemId, aText, (MenuItemBits)nItemStyle, OString(), nPos); } void VCLXMenu::removeItem( sal_Int16 nPos, sal_Int16 nCount ) throw(::com::sun::star::uno::RuntimeException) @@ -543,7 +543,7 @@ void VCLXMenu::insertSeparator( sal_Int16 nPos ) throw(::com::sun::star::uno::Ru ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); if ( mpMenu ) - mpMenu->InsertSeparator( nPos ); + mpMenu->InsertSeparator(OString(), nPos); } void VCLXMenu::setDefaultItem( sal_Int16 nItemId ) throw(::com::sun::star::uno::RuntimeException) |