[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - vcl/source

Kshitij Pathania kshitijpathania at gmail.com
Thu Jun 14 20:27:03 UTC 2018


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

New commits:
commit 65a9e32b0ff3b2128d5381344f08ddacf758cece
Author: Kshitij Pathania <kshitijpathania at gmail.com>
Date:   Wed Jun 13 15:51:13 2018 +0530

    Icons in menubutton are visible now
    
    Change-Id: Icccf8ebfafcb556327def38bc37d1d25a1b6e58d
    Reviewed-on: https://gerrit.libreoffice.org/55744
    Tested-by: Jenkins
    Reviewed-by: Maxim Monastirsky <momonasmon at gmail.com>
    (cherry picked from commit 51b72278b3c64978d0219f406ed5ab194cac2e0c)
    Reviewed-on: https://gerrit.libreoffice.org/55821

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 4f070fcb5e77..935ffc0eacfe 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2962,7 +2962,7 @@ void VclBuilder::insertMenuObject(PopupMenu *pParent, PopupMenu *pSubMenu, const
     {
         OUString sLabel(BuilderUtils::convertMnemonicMarkup(extractLabel(rProps)));
         OUString aCommand(extractActionName(rProps));
-        pParent->InsertItem(nNewId, sLabel, MenuItemBits::TEXT, rID);
+        pParent->InsertItem(nNewId, sLabel, MenuItemBits::NONE , rID);
         pParent->SetItemCommand(nNewId, aCommand);
         if (pSubMenu)
             pParent->SetPopupMenu(nNewId, pSubMenu);


More information about the Libreoffice-commits mailing list