Toolbar: Use 'Name', not 'Label' property for Toolbar items
Name is a stripped-down version of Label (doesn't contain dots etc). Inadvertently changed in 9c2f197e8e945f584e718e889938c06fbf644897 Thanks to Maxim for pointing this out. Change-Id: I7df5752af6c398cc216b7773e4506d401232c216
This commit is contained in:
parent
41379970e8
commit
6105812d67
@ -1272,7 +1272,7 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
|
||||
|
||||
if (( nType == css::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
|
||||
{
|
||||
OUString aString( RetrieveFromCommand( "Label", aCommandURL ));
|
||||
OUString aString( RetrieveFromCommand( "Name", aCommandURL ));
|
||||
OUString aTooltipFromCommand( RetrieveFromCommand( "TooltipLabel", aCommandURL ));
|
||||
|
||||
ToolBoxItemBits nItemBits = ConvertStyleToToolboxItemBits( nStyle );
|
||||
|
Loading…
x
Reference in New Issue
Block a user