diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-18 14:13:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-18 20:00:07 +0200 |
commit | 0bd476d23c647217552836b17b51b1eebefa6528 (patch) | |
tree | 3016108d4122cf2cdff0f0523b7b2f0180fd1fac /vcl | |
parent | e9dad737b086537803210987ccbd9a59651c4613 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |