diff options
Diffstat (limited to 'sw/source/uibase/uiview/swcli.cxx')
-rw-r--r-- | sw/source/uibase/uiview/swcli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/swcli.cxx b/sw/source/uibase/uiview/swcli.cxx index 93c6cfeb4394..f5f8f174e544 100644 --- a/sw/source/uibase/uiview/swcli.cxx +++ b/sw/source/uibase/uiview/swcli.cxx @@ -138,7 +138,7 @@ void SwOleClient::ViewChanged() // first convert to TWIPS before scaling, because scaling factors are calculated for // the TWIPS mapping and so they will produce the best results if applied to TWIPS based // coordinates - const MapMode aMyMap ( MAP_TWIP ); + const MapMode aMyMap ( MapUnit::MapTwip ); const MapMode aObjMap( VCLUnoHelper::UnoEmbed2VCLMapUnit( GetObject()->getMapUnit( GetAspect() ) ) ); aVisSize = OutputDevice::LogicToLogic( aVisSize, aObjMap, aMyMap ); |