diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-14 16:41:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-15 11:02:53 +0200 |
commit | 4c4d9a482b93440fd3388ffa1715e66d1f391fea (patch) | |
tree | dc599ac00d6ca5c3288e4e7053c02c0d62902346 /vcl/source/filter/graphicfilter.cxx | |
parent | 256480b8b80769149652bb62f401672ee8fafe1f (diff) |
loplugin:sequentialassign in vcl
Change-Id: I530b81b3258a6e1c1456da53bfe1285f14aee712
Reviewed-on: https://gerrit.libreoffice.org/70734
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/filter/graphicfilter.cxx')
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 70b6056c15f4..920c64160b55 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -2145,9 +2145,7 @@ ErrCode GraphicFilter::ExportGraphic( const Graphic& rGraphic, const OUString& r #endif ErrCode nStatus = ERRCODE_NONE; GraphicType eType; - Graphic aGraphic( rGraphic ); - - aGraphic = ImpGetScaledGraphic( rGraphic, aConfigItem ); + Graphic aGraphic = ImpGetScaledGraphic( rGraphic, aConfigItem ); eType = aGraphic.GetType(); if( pConfig->IsExportPixelFormat( nFormat ) ) |