summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/linectrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/linectrl.cxx')
-rw-r--r--svx/source/tbxctrls/linectrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 8d78bd1a3870..c0b1c3eb45a0 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -226,7 +226,7 @@ void SvxLineWidthToolBoxControl::StateChanged(
// Core-Unit handed over to MetricField
// Should not happen in CreateItemWin ()!
- MapUnit eUnit = MAP_100TH_MM; // CD!!! GetCoreMetric();
+ MapUnit eUnit = MapUnit::Map100thMM; // CD!!! GetCoreMetric();
pFld->SetCoreUnit( eUnit );
pFld->Update( static_cast<const XLineWidthItem*>(pState) );