summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 08:21:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 14:46:45 +0200
commit8feca893a902abe3c238403f0a1f59a24fb24926 (patch)
tree92e4308d2562c9ca48920f20c87a78c07a635740 /emfio
parentfd6d01c95594746602090972d5edabe1b9f281c3 (diff)
loplugin:sequentialassign in editeng..extensions
Change-Id: I95c6fb5e2ddc1c2d8a2fb1d5ff30b18ddad48b3a Reviewed-on: https://gerrit.libreoffice.org/70699 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/source/reader/wmfreader.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index 0e3172ee3c53..a4d392463afb 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -1725,9 +1725,7 @@ namespace emfio
case W_META_EXTTEXTOUT:
{
sal_uInt16 nLen, nOptions;
- Point aPosition;
-
- aPosition = ReadYX();
+ Point aPosition = ReadYX();
pStm->ReadUInt16( nLen ).ReadUInt16( nOptions );
// todo: we also have to take care of the text width
if( nLen )