summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/optutil.cxx
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 /sc/source/core/tool/optutil.cxx
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 'sc/source/core/tool/optutil.cxx')
-rw-r--r--sc/source/core/tool/optutil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/optutil.cxx b/sc/source/core/tool/optutil.cxx
index cdf55deeb13a..d3da3eba31b0 100644
--- a/sc/source/core/tool/optutil.cxx
+++ b/sc/source/core/tool/optutil.cxx
@@ -33,7 +33,7 @@ bool ScOptionsUtil::IsMetricSystem()
MeasurementSystem eSys = ScGlobal::pLocaleData->getMeasurementSystemEnum();
- return ( eSys == MEASURE_METRIC );
+ return ( eSys == MeasurementSystem::Metric );
}
ScLinkConfigItem::ScLinkConfigItem( const OUString& rSubTree ) :