diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 09:38:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-15 07:30:47 +0100 |
commit | 457220bc2c0142c5b6f4135cb688ccfc99fec792 (patch) | |
tree | a387225d9d1e4914815a52a27e0a034fe5e85a26 /oox | |
parent | 0d9f3f7628f88fa66aaeea1f7148db620e17e728 (diff) |
loplugin:changetoolsgen in oox,reportdesign
Change-Id: I8112ae6bb92ef96b4229ab53b7002ae3c0ba865c
Reviewed-on: https://gerrit.libreoffice.org/49702
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/shapes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index e922a3bce934..72f2eac304ba 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -386,9 +386,9 @@ awt::Size ShapeExport::MapSize( const awt::Size& rSize ) const Size aRetSize( OutputDevice::LogicToLogic( Size( rSize.Width, rSize.Height ), maMapModeSrc, maMapModeDest ) ); if ( !aRetSize.Width() ) - aRetSize.Width()++; + aRetSize.setWidth( ++aRetSize.Width() ); if ( !aRetSize.Height() ) - aRetSize.Height()++; + aRetSize.setHeight( ++aRetSize.Height() ); return awt::Size( aRetSize.Width(), aRetSize.Height() ); } |