diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-08-28 11:45:28 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-08-28 10:04:31 +0000 |
commit | 0140d931e17a6392ead39a0250b2266fb6dfddf4 (patch) | |
tree | 80cac1fa8d8d4f0e86be78204356bd15f9d7e305 /vcl/source/window/layout.cxx | |
parent | 45e01be11111213f689ba5f1fa319e3dc48ea9c5 (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/source/window/layout.cxx')
-rw-r--r-- | vcl/source/window/layout.cxx | 9 |
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; } |