summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-12 11:28:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-13 20:27:22 +0100
commit8453bc55a4d6c58033559097bfd7c52379725a2f (patch)
tree22bff46d8a0ac509786b9759f10c7c5454b633b7 /vcl/source
parent45c597223344f4050897f38e1cb1163cc6126eff (diff)
Related: tdf#133718 use mnenonics from vertical tabcontrol labels
Change-Id: Ic27bcaa1c6ca370abc6b1e44eac91c5e6eb41ca7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109167 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 9ea07cdb5ee3..3335296e8128 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2793,7 +2793,7 @@ void VclBuilder::handleTabChild(vcl::Window *pParent, xmlreader::XmlReader &read
}
else
{
- OUString sLabel(aFind->second);
+ OUString sLabel(BuilderUtils::convertMnemonicMarkup(aFind->second));
OUString sIconName(extractIconName(aProperties));
OUString sTooltip(extractTooltipText(aProperties));
pVerticalTabControl->InsertPage(sIDs.front(), sLabel, FixedImage::loadThemeImage(sIconName), sTooltip,