summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxdevice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxdevice.cxx')
-rw-r--r--toolkit/source/awt/vclxdevice.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index 63ccd601e244..9e4ec71462be 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -149,7 +149,7 @@ css::awt::DeviceInfo VCLXDevice::getInfo() throw(css::uno::RuntimeException, std
aInfo.Width = aDevSz.Width();
aInfo.Height = aDevSz.Height();
- Size aTmpSz = mpOutputDevice->LogicToPixel( Size( 1000, 1000 ), MapMode( MAP_CM ) );
+ Size aTmpSz = mpOutputDevice->LogicToPixel( Size( 1000, 1000 ), MapMode( MapUnit::MapCM ) );
aInfo.PixelPerMeterX = aTmpSz.Width()/10;
aInfo.PixelPerMeterY = aTmpSz.Height()/10;