summaryrefslogtreecommitdiff
path: root/sc/qa/extras/anchor.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-21 12:14:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-25 13:53:21 +0200
commit4583911575edf98ccd5b15af8eafa6a3a7b64034 (patch)
treef3f33e53c45dd870f19e7e42db9bb5b4bf1f23bf /sc/qa/extras/anchor.cxx
parent1942182a3d1817bc539229d7fda3af69f7e295b8 (diff)
improve loplugin:simplifyconstruct
Change-Id: If863d28c6db470faa0d22273020888d4219e069e Reviewed-on: https://gerrit.libreoffice.org/74559 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa/extras/anchor.cxx')
-rw-r--r--sc/qa/extras/anchor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/anchor.cxx b/sc/qa/extras/anchor.cxx
index 9e0e920ec281..8d61466b5a29 100644
--- a/sc/qa/extras/anchor.cxx
+++ b/sc/qa/extras/anchor.cxx
@@ -170,7 +170,7 @@ void ScAnchorTest::testTdf76183()
SdrPage* pPage = pDrawLayer->GetPage(0);
// Add a circle somewhere below first row.
- const tools::Rectangle aOrigRect = tools::Rectangle(1000, 1000, 1200, 1200);
+ const tools::Rectangle aOrigRect(1000, 1000, 1200, 1200);
SdrCircObj* pObj = new SdrCircObj(*pDrawLayer, OBJ_CIRC, aOrigRect);
pPage->InsertObject(pObj);
// Anchor to cell