diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-15 17:55:48 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-16 06:43:19 +0000 |
commit | 52372ae0370cb755ed810eead456d75c8cb1adf3 (patch) | |
tree | 6415c4f1d284229ef8a308af31bb1f4210a1f963 /rsc | |
parent | b852642ecdcba105d14b1927309cfb176fb7d417 (diff) |
convert NUMERICFORMATTER to scoped enum
Change-Id: Ia6762153a73f01a237bfc03bf9a95a4117d1d998
Reviewed-on: https://gerrit.libreoffice.org/25010
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 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index fc13647fb4c0..9bd53b558e1a 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -862,22 +862,19 @@ RscTop * RscTypCont::InitClassNumericFormatter( RscTop * pSuper ) // initialize variables nId = aNmTb.Put( "Minimum", VARNAME ); pClassNumeric->SetVariable( nId, &aIdLong, nullptr, - 0, NUMERICFORMATTER_MIN ); + 0, (sal_uInt32)RscNumFormatterFlags::Min ); nId = aNmTb.Put( "Maximum", VARNAME ); pClassNumeric->SetVariable( nId, &aIdLong, nullptr, - 0, NUMERICFORMATTER_MAX ); + 0, (sal_uInt32)RscNumFormatterFlags::Max ); nId = aNmTb.Put( "StrictFormat", VARNAME ); pClassNumeric->SetVariable( nId, &aBool, nullptr, - 0, NUMERICFORMATTER_STRICTFORMAT ); + 0, (sal_uInt32)RscNumFormatterFlags::StrictFormat ); nId = aNmTb.Put( "DecimalDigits", VARNAME ); pClassNumeric->SetVariable( nId, &aUShort, nullptr, - 0, NUMERICFORMATTER_DECIMALDIGITS ); + 0, (sal_uInt32)RscNumFormatterFlags::DecimalDigits ); nId = aNmTb.Put( "Value", VARNAME ); pClassNumeric->SetVariable( nId, &aIdLong, nullptr, - 0, NUMERICFORMATTER_VALUE ); - nId = aNmTb.Put( "NoThousandSep", VARNAME ); - pClassNumeric->SetVariable( nId, &aBool, nullptr, - 0, NUMERICFORMATTER_NOTHOUSANDSEP ); + 0, (sal_uInt32)RscNumFormatterFlags::Value ); return pClassNumeric; } |