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 | |
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>
-rw-r--r-- | cui/source/dialogs/screenshotannotationdlg.cxx | 5 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index e2a9b4c748d0..6016cd069d43 100644 --- a/cui/source/dialogs/screenshotannotationdlg.cxx +++ b/cui/source/dialogs/screenshotannotationdlg.cxx @@ -206,7 +206,7 @@ ScreenshotAnnotationDlg_Impl::ScreenshotAnnotationDlg_Impl( if (mpText) { mpText->SetText("The quick brown fox jumps over the lazy dog :)"); - mpText->SetReadOnly(true); + mpText->SetReadOnly(); } // set click handler for save button @@ -406,8 +406,7 @@ void ScreenshotAnnotationDlg_Impl::PaintControlDataEntry( // no transparency, draw without mpVirtualBufferDevice->DrawPolyLine( aPolygon, - fLineWidth, - basegfx::B2DLineJoin::Round); + fLineWidth); } } } 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; } |