summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-13 06:42:09 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-13 06:44:33 +0100
commit6105812d67ce5369ff3a1b9690f2bc333a17e44d (patch)
treed49d6a5d3918723cf2cb9c87e355a6d8bc3f20e6 /framework
parent41379970e8c6b75563b7c162b4e760b9e93a5bea (diff)
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
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/toolbarmanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 8c5bb68e03fa..ecc370886d9b 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -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 );