summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-13 14:23:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-19 08:25:59 +0200
commit6390d77a1498ff2474522031af4a68af5e865d8d (patch)
treea9ed0f2242e09b4de943e02c533a04861c011324 /extensions/source/propctrlr
parente175f9f4393eb3badd763fa5b1cdc5b3aabab0e4 (diff)
convert MeasurementSystem to scoped enum
Change-Id: I5d26c50aa0e2c68edab6ee217ae6bdb0ee45dc09 Reviewed-on: https://gerrit.libreoffice.org/36525 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r--extensions/source/propctrlr/propertyhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propertyhandler.cxx b/extensions/source/propctrlr/propertyhandler.cxx
index a3da0893b05e..9f197d22a476 100644
--- a/extensions/source/propctrlr/propertyhandler.cxx
+++ b/extensions/source/propctrlr/propertyhandler.cxx
@@ -396,7 +396,7 @@ namespace pcr
if ( FUNIT_NONE == eUnit )
{
MeasurementSystem eSystem = SvtSysLocale().GetLocaleData().getMeasurementSystemEnum();
- eUnit = MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH;
+ eUnit = MeasurementSystem::Metric == eSystem ? FUNIT_CM : FUNIT_INCH;
}
return VCLUnoHelper::ConvertToMeasurementUnit( eUnit, 1 );