diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 10:30:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-06 14:38:52 +0200 |
commit | c289c25523496f58b81e061cea82757c99e99957 (patch) | |
tree | f85f43251ddfce0ea6aa23f46729139c04497b2c /canvas | |
parent | 07e87211c2b2e98fd176fef2018723b50c8dbb1a (diff) |
loplugin:simplifyconstruct in canvas..cui
Change-Id: I02eba1df117a9d0df42bcac13c3251cb4fa6da14
Reviewed-on: https://gerrit.libreoffice.org/60074
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx index 9db2102cf13d..8a80912886a5 100644 --- a/canvas/source/cairo/cairo_canvashelper.cxx +++ b/canvas/source/cairo/cairo_canvashelper.cxx @@ -1086,7 +1086,7 @@ namespace cairocanvas bool bHasAlpha ) { SurfaceSharedPtr pSurface=pInputSurface; - uno::Reference< rendering::XCachedPrimitive > rv(nullptr); + uno::Reference< rendering::XCachedPrimitive > rv; geometry::IntegerSize2D aBitmapSize = rSize; if( mpCairo ) |