summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-11 14:38:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 15:33:02 +0200
commit725a1f514cd9fde0bb837457ed186fd6a7b4a239 (patch)
tree8f95811eaf23f965bd8d4c31589d7071d1bec793 /cppcanvas
parentc36e7f44c2e1b97d9073560a1734d3f6628ac85a (diff)
loplugin:sequentialassign in comphelper..cui
Change-Id: I1a08f3684b785e31535adcfb4220ded267a77c3b Reviewed-on: https://gerrit.libreoffice.org/70643 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/qa/unit/test.cxx3
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx4
2 files changed, 2 insertions, 5 deletions
diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx
index 5da7a0d85201..de7d3ef94b91 100644
--- a/cppcanvas/qa/unit/test.cxx
+++ b/cppcanvas/qa/unit/test.cxx
@@ -49,8 +49,7 @@ void CanvasTest::testComposite()
// a huge canvas ...
Size aSize (1, 1);
- uno::Reference<rendering::XBitmap> xBitmap;
- xBitmap = xCanvas->getDevice ()->createCompatibleAlphaBitmap(
+ uno::Reference<rendering::XBitmap> xBitmap = xCanvas->getDevice ()->createCompatibleAlphaBitmap(
vcl::unotools::integerSize2DFromSize( aSize ) );
CPPUNIT_ASSERT( xBitmap.is() );
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 93c0d617a22b..cca610102430 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -2027,9 +2027,7 @@ namespace cppcanvas
for( const auto& rVCLPolyPolygon : aVCLPolyPolyVector )
{
- ::basegfx::B2DPolyPolygon aPolyPolygon;
-
- aPolyPolygon = rVCLPolyPolygon.getB2DPolyPolygon();
+ ::basegfx::B2DPolyPolygon aPolyPolygon = rVCLPolyPolygon.getB2DPolyPolygon();
aPolyPolygon.transform( aMapModeTransform );
// append result to collecting polypoly