diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-25 20:33:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:22:01 +0000 |
commit | 12eec0ce0ce0d2008e80f294c4b2d4d3e6e3ef55 (patch) | |
tree | 2ed75302689433c31897df0d4bc28a58e43464ba /rsc | |
parent | ba91f894cc135ee4ea3a9ba945fb32e27eba2638 (diff) |
Convert METRICFORMATTER to scoped enum
Change-Id: If7004e0ca3f2dc229b1b36c07811eef09456b437
Reviewed-on: https://gerrit.libreoffice.org/25464
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 20e05a5bab82..1ec99f235f1d 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -850,10 +850,10 @@ RscTop * RscTypCont::InitClassMetricFormatter( RscTop * pSuper, // initialize variables nId = aNmTb.Put( "Unit", VARNAME ); pClassMetric->SetVariable( nId, pFieldUnits, nullptr, - 0, METRICFORMATTER_UNIT ); + 0, (sal_uInt32)RscMetricFormatterFlags::Unit ); nId = aNmTb.Put( "CustomUnitText", VARNAME ); pClassMetric->SetVariable( nId, &aLangString, nullptr, - 0, METRICFORMATTER_CUSTOMUNITTEXT ); + 0, (sal_uInt32)RscMetricFormatterFlags::CustomUnitText ); return pClassMetric; } |