summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 21:25:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-19 13:19:45 +0200
commit8b663bc830605a0065184b299bea9cd3682d7935 (patch)
tree9dd047c9b6423ba047a6c7a1371ee9f658b7e26d /sd/source/ui/view/sdview3.cxx
parent1a5b12aa5da2c718848d3cc5d9bce7bfcdeacf54 (diff)
loplugin:sequentialassign in sd
Change-Id: I7d592b8929ca46c64a622551b039af0d6a7911db Reviewed-on: https://gerrit.libreoffice.org/70716 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/sdview3.cxx')
-rw-r--r--sd/source/ui/view/sdview3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index e392b69fa23f..6f09074d2631 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -244,8 +244,7 @@ bool View::InsertMetaFile( TransferableDataHelper& rDataHelper, const Point& rPo
// restrict movement to WorkArea
Point aInsertPos( rPos );
- Size aImageSize;
- aImageSize = bVector ? aMtf.GetPrefSize() : aGraphic.GetSizePixel();
+ Size aImageSize = bVector ? aMtf.GetPrefSize() : aGraphic.GetSizePixel();
ImpCheckInsertPos(aInsertPos, aImageSize, GetWorkArea());
if( bVector )