summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/descriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/descriptor.cxx')
-rw-r--r--svtools/source/graphic/descriptor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/descriptor.cxx b/svtools/source/graphic/descriptor.cxx
index 1cec88463da3..4f73e4fab05c 100644
--- a/svtools/source/graphic/descriptor.cxx
+++ b/svtools/source/graphic/descriptor.cxx
@@ -379,9 +379,9 @@ void GraphicDescriptor::_getPropertyValues( const comphelper::PropertyMapEntry**
if( mpGraphic )
{
- if( mpGraphic->GetPrefMapMode().GetMapUnit() != MAP_PIXEL )
+ if( mpGraphic->GetPrefMapMode().GetMapUnit() != MapUnit::MapPixel )
{
- const Size aSizeLog( OutputDevice::LogicToLogic( mpGraphic->GetPrefSize(), mpGraphic->GetPrefMapMode(), MAP_100TH_MM ) );
+ const Size aSizeLog( OutputDevice::LogicToLogic( mpGraphic->GetPrefSize(), mpGraphic->GetPrefMapMode(), MapUnit::Map100thMM ) );
aAWTSize = awt::Size( aSizeLog.Width(), aSizeLog.Height() );
}
}