Kaydet (Commit) 6105812d authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

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 9c2f197e
Thanks to Maxim for pointing this out.

Change-Id: I7df5752af6c398cc216b7773e4506d401232c216
üst 41379970
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment