tdf#142524 Search Commands: use ▸ to indicate sequence
Change-Id: I2a3a7c4db03dbfe53f2b71de7ee9b3df42a22866
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157689
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
diff --git a/sfx2/source/commandpopup/CommandPopup.cxx b/sfx2/source/commandpopup/CommandPopup.cxx
index 8d68bd6..0d948a4 100644
--- a/sfx2/source/commandpopup/CommandPopup.cxx
+++ b/sfx2/source/commandpopup/CommandPopup.cxx
@@ -51,6 +51,7 @@ MenuContentHandler::MenuContentHandler(uno::Reference<frame::XFrame> const& xFra
void MenuContentHandler::gatherMenuContent(
uno::Reference<container::XIndexAccess> const& xIndexAccess, MenuContent& rMenuContent)
{
std::u16string_view aMenuLabelSeparator = AllSettings::GetLayoutRTL() ? u" ◂ " : u" ▸ ";
for (sal_Int32 n = 0; n < xIndexAccess->getCount(); n++)
{
MenuContent aNewContent;
@@ -85,7 +86,8 @@ void MenuContentHandler::gatherMenuContent(
aNewContent.m_aMenuLabel = aLabel;
if (!rMenuContent.m_aFullLabelWithPath.isEmpty())
aNewContent.m_aFullLabelWithPath = rMenuContent.m_aFullLabelWithPath + " / ";
aNewContent.m_aFullLabelWithPath
= rMenuContent.m_aFullLabelWithPath + aMenuLabelSeparator;
aNewContent.m_aFullLabelWithPath += aNewContent.m_aMenuLabel;
aNewContent.m_aSearchableMenuLabel = toLower(aNewContent.m_aFullLabelWithPath);