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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 18 18:01:35 UTC 2019


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

New commits:
commit 0bd476d23c647217552836b17b51b1eebefa6528
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 18 14:13:11 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 18 20:00:07 2019 +0200

    has-default not needed for menu entries
    
    Change-Id: I26c8eecf4e3f398d87ad118b8f6f3d33f04ec87b
    Reviewed-on: https://gerrit.libreoffice.org/81057
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index e592a7fbf2cc..42d5d5763a01 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -3596,8 +3596,6 @@ void VclBuilder::insertMenuObject(PopupMenu *pParent, PopupMenu *pSubMenu, const
                 pParent->SetTipHelpText(nNewId, rValue);
             else if (rKey == "visible")
                 pParent->ShowItem(nNewId, toBool(rValue));
-            else if (rKey == "has-default" && toBool(rValue))
-                pParent->SetSelectedEntry(nNewId);
             else
                 SAL_INFO("vcl.layout", "unhandled property: " << rKey);
         }


More information about the Libreoffice-commits mailing list