summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-28 11:45:28 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-28 10:04:31 +0000
commit0140d931e17a6392ead39a0250b2266fb6dfddf4 (patch)
tree80cac1fa8d8d4f0e86be78204356bd15f9d7e305 /vcl
parent45e01be11111213f689ba5f1fa319e3dc48ea9c5 (diff)
loplugin:defaultparams
Change-Id: I9e6b81855e421186af92e53c71f5ba9bd8005319 Reviewed-on: https://gerrit.libreoffice.org/28433 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/layout.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index bc548ec283d3..56a2ac38cf0f 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -230,8 +230,7 @@ void VclContainer::Command(const CommandEvent& rCEvt)
aMenu->InsertItem(
nLocalID,
- pChild->GetText(),
- MenuItemBits::NONE);
+ pChild->GetText());
aMenu->SetHelpText(
nLocalID,
pChild->GetHelpText());
@@ -254,8 +253,7 @@ void VclContainer::Command(const CommandEvent& rCEvt)
aMenu->InsertItem(
nLocalID,
- "Screenshot",
- MenuItemBits::NONE);
+ "Screenshot");
aMenu->SetHelpText(
nLocalID,
"Go into interactive screenshot annotation mode");
@@ -263,8 +261,7 @@ void VclContainer::Command(const CommandEvent& rCEvt)
nLocalID,
"InteractiveScreenshotMode");
aMenu->EnableItem(
- nLocalID,
- true);
+ nLocalID);
nScreenshotButtonID = nLocalID;
}