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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 2 12:27:16 UTC 2021


 vcl/source/window/builder.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4e24a2f996989c3e7969aab71a9db78f1b41889
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jun 2 12:13:25 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jun 2 14:26:26 2021 +0200

    accept help-browser-symbolic as well as help-browser
    
    Change-Id: I8024410b1d259cc12e0fa25a009a51589640835e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116583
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 55993009e03c..2e8c26aef83a 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -136,7 +136,7 @@ SymbolType VclBuilder::mapStockToSymbol(std::u16string_view sType)
         eRet = SymbolType::ARROW_DOWN;
     else if (sType == u"missing-image")
         eRet = SymbolType::IMAGE;
-    else if (sType == u"help-browser")
+    else if (sType == u"help-browser" || sType == u"help-browser-symbolic")
         eRet = SymbolType::HELP;
     else if (sType == u"window-close")
         eRet = SymbolType::CLOSE;


More information about the Libreoffice-commits mailing list