diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-24 09:15:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 08:06:15 +0100 |
commit | 970ca8de0be4c4cd9485170f3c56a34b4069eec2 (patch) | |
tree | 1eb110e926d1539b729e06ab78e723f5ca19ae1c /cppcanvas/source/tools/canvasgraphichelper.cxx | |
parent | 880af0672c6362b0dbdae137d92e8ebf85a7b335 (diff) |
loplugin:unusedfields in various
Change-Id: I31d0e6c3559af2e322fb474b97f3bbf4d5064831
Reviewed-on: https://gerrit.libreoffice.org/68280
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/tools/canvasgraphichelper.cxx')
-rw-r--r-- | cppcanvas/source/tools/canvasgraphichelper.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx index ded58f9f6b2e..592179f42364 100644 --- a/cppcanvas/source/tools/canvasgraphichelper.cxx +++ b/cppcanvas/source/tools/canvasgraphichelper.cxx @@ -43,19 +43,12 @@ namespace cppcanvas { CanvasGraphicHelper::CanvasGraphicHelper( const CanvasSharedPtr& rParentCanvas ) : maClipPolyPolygon(), - mpCanvas( rParentCanvas ), - mxGraphicDevice() + mpCanvas( rParentCanvas ) { OSL_ENSURE( mpCanvas.get() != nullptr && mpCanvas->getUNOCanvas().is(), "CanvasGraphicHelper::CanvasGraphicHelper: no valid canvas" ); - if( mpCanvas.get() != nullptr && - mpCanvas->getUNOCanvas().is() ) - { - mxGraphicDevice = mpCanvas->getUNOCanvas()->getDevice(); - } - ::canvas::tools::initRenderState( maRenderState ); } |