diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 14:47:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-27 11:11:27 +0200 |
commit | 6561fc32afaa0ca992ae988b6d08c62e3e516d43 (patch) | |
tree | 79c8385626c1707688f75ce04fe92af1c0ae6249 /svx/source/unodraw/unoshap4.cxx | |
parent | f65f34d630f02c0d9f8c6e5e28dff56e6208ab4f (diff) |
loplugin:oncevar in svx
Change-Id: I22a3a13e059ac7d3479f12860564fe3eb1b55e44
Reviewed-on: https://gerrit.libreoffice.org/39282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw/unoshap4.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index f28b85a819f4..96184b68e8f1 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -96,9 +96,9 @@ bool SvxOle2Shape::setPropertyValueImpl( const OUString& rName, const SfxItemPro { try { - MapUnit aMapUnit( MapUnit::Map100thMM ); // the API handles with MapUnit::Map100thMM map mode + // the API handles with MapUnit::Map100thMM map mode MapUnit aObjUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( embed::Aspects::MSOLE_CONTENT ) ); - aTmp = OutputDevice::LogicToLogic( aTmp, aMapUnit, aObjUnit ); + aTmp = OutputDevice::LogicToLogic( aTmp, MapUnit::Map100thMM, aObjUnit ); xObj->setVisualAreaSize( embed::Aspects::MSOLE_CONTENT, awt::Size( aTmp.Width(), aTmp.Height() ) ); } catch( uno::Exception& ) |