[Libreoffice-commits] core.git: sfx2/source

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 1 03:33:34 UTC 2021


 sfx2/source/commandpopup/CommandPopup.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2752a0a7e72b1d7e5f8bf22a3b4f17c69fdd7a48
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon May 31 17:11:06 2021 +0900
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue Jun 1 05:32:51 2021 +0200

    tdf#142243 actually call toLower not tuUpper when calling toLower
    
    But it doesn't have an effect as both uppercase or lowercase work
    as long as it is used consistently.
    
    Change-Id: I898cdc7946732f1a504d902f38ae84565c95a0c7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116430
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/sfx2/source/commandpopup/CommandPopup.cxx b/sfx2/source/commandpopup/CommandPopup.cxx
index a903a0b12628..5500f8913673 100644
--- a/sfx2/source/commandpopup/CommandPopup.cxx
+++ b/sfx2/source/commandpopup/CommandPopup.cxx
@@ -155,7 +155,7 @@ OUString MenuContentHandler::toLower(OUString const& rString)
 {
     const css::lang::Locale& rLocale = Application::GetSettings().GetUILanguageTag().getLocale();
 
-    return m_xCharacterClassification->toUpper(rString, 0, rString.getLength(), rLocale);
+    return m_xCharacterClassification->toLower(rString, 0, rString.getLength(), rLocale);
 }
 
 CommandListBox::CommandListBox(weld::Window* pParent, uno::Reference<frame::XFrame> const& xFrame)


More information about the Libreoffice-commits mailing list