summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/msgpool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/msgpool.cxx')
-rw-r--r--sc/source/ui/app/msgpool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/msgpool.cxx b/sc/source/ui/app/msgpool.cxx
index be2db5a53571..b981f01d7570 100644
--- a/sc/source/ui/app/msgpool.cxx
+++ b/sc/source/ui/app/msgpool.cxx
@@ -95,9 +95,9 @@ MapUnit ScMessagePool::GetMetric( sal_uInt16 nWhich ) const
{
// Own attributes: Twips, everything else 1/100 mm
if ( nWhich >= ATTR_STARTINDEX && nWhich <= ATTR_ENDINDEX )
- return MAP_TWIP;
+ return MapUnit::MapTwip;
else
- return MAP_100TH_MM;
+ return MapUnit::Map100thMM;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */