summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/screenshotannotationdlg.cxx
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 /cui/source/dialogs/screenshotannotationdlg.cxx
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 'cui/source/dialogs/screenshotannotationdlg.cxx')
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx5
1 files changed, 2 insertions, 3 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);
}
}
}