summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-25 20:15:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:19:41 +0000
commitba91f894cc135ee4ea3a9ba945fb32e27eba2638 (patch)
tree00a54fcefedd6cae7570b3b2abaa41aa7a1e6191 /rsc
parentcbe78f817da8db78d226b3ad2b1a10d0c2dcf188 (diff)
Convert METRICFIELD to scoped enum
Change-Id: I283d578071af549c0f8f50de728859b6715e47b5 Reviewed-on: https://gerrit.libreoffice.org/25463 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscicpx.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index adff90201de7..20e05a5bab82 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -916,13 +916,13 @@ RscTop * RscTypCont::InitClassMetricField( RscTop * pSuper )
// initialize variables
nId = aNmTb.Put( "First", VARNAME );
pClassMetricField->SetVariable( nId, &aIdLong, nullptr,
- 0, METRICFIELD_FIRST );
+ 0, (sal_uInt32)RscMetricFieldFlags::First );
nId = aNmTb.Put( "Last", VARNAME );
pClassMetricField->SetVariable( nId, &aIdLong, nullptr,
- 0, METRICFIELD_LAST );
+ 0, (sal_uInt32)RscMetricFieldFlags::Last );
nId = aNmTb.Put( "SpinSize", VARNAME );
pClassMetricField->SetVariable( nId, &aIdLong, nullptr,
- 0, METRICFIELD_SPINSIZE );
+ 0, (sal_uInt32)RscMetricFieldFlags::SpinSize );
return pClassMetricField;
}