summaryrefslogtreecommitdiff
path: root/starmath/source/tmpdevice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/tmpdevice.cxx')
-rw-r--r--starmath/source/tmpdevice.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/tmpdevice.cxx b/starmath/source/tmpdevice.cxx
index b6232bd3a013..ca0ee8f8b356 100644
--- a/starmath/source/tmpdevice.cxx
+++ b/starmath/source/tmpdevice.cxx
@@ -35,10 +35,10 @@ SmTmpDevice::SmTmpDevice(OutputDevice &rTheDev, bool bUseMap100th_mm) :
{
rOutDev.Push( PushFlags::FONT | PushFlags::MAPMODE |
PushFlags::LINECOLOR | PushFlags::FILLCOLOR | PushFlags::TEXTCOLOR );
- if (bUseMap100th_mm && MAP_100TH_MM != rOutDev.GetMapMode().GetMapUnit())
+ if (bUseMap100th_mm && MapUnit::Map100thMM != rOutDev.GetMapMode().GetMapUnit())
{
SAL_WARN("starmath", "incorrect MapMode?");
- rOutDev.SetMapMode( MAP_100TH_MM ); //format for 100% always
+ rOutDev.SetMapMode( MapUnit::Map100thMM ); //format for 100% always
}
}