summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-18 14:13:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-18 20:00:07 +0200
commit0bd476d23c647217552836b17b51b1eebefa6528 (patch)
tree3016108d4122cf2cdff0f0523b7b2f0180fd1fac /vcl
parente9dad737b086537803210987ccbd9a59651c4613 (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.cxx2
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);
}