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 9c2f197e8e
Thanks to Maxim for pointing this out.
Change-Id: I7df5752af6c398cc216b7773e4506d401232c216
This commit is contained in:
@@ -1272,7 +1272,7 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
|
|||||||
|
|
||||||
if (( nType == css::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
|
if (( nType == css::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
|
||||||
{
|
{
|
||||||
OUString aString( RetrieveFromCommand( "Label", aCommandURL ));
|
OUString aString( RetrieveFromCommand( "Name", aCommandURL ));
|
||||||
OUString aTooltipFromCommand( RetrieveFromCommand( "TooltipLabel", aCommandURL ));
|
OUString aTooltipFromCommand( RetrieveFromCommand( "TooltipLabel", aCommandURL ));
|
||||||
|
|
||||||
ToolBoxItemBits nItemBits = ConvertStyleToToolboxItemBits( nStyle );
|
ToolBoxItemBits nItemBits = ConvertStyleToToolboxItemBits( nStyle );
|
||||||
|
Reference in New Issue
Block a user