summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-21 15:37:47 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-22 17:53:52 +0000
commitef0e063938d1821f362a975ae83c2ab212267b98 (patch)
tree7538dfc1f8c54ab4a90edea815ce6564c8754682 /rsc
parenta887bed580a3e6388f8da0c5a19fd87888e11e95 (diff)
Convert RSC_IMAGELIST to scoped enum
Change-Id: Iaf5f0723ab3e23e9afa1836a1b4cd8af2d86f010 Reviewed-on: https://gerrit.libreoffice.org/25257 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 1e072918c365..86a9a299bf15 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -179,21 +179,21 @@ RscTop * RscTypCont::InitClassImageList( RscTop * pSuper,
nId = aNmTb.Put( "MaskColor", VARNAME );
pClassImageList->SetVariable( nId, pClassColor, nullptr,
- VAR_SVDYNAMIC, RSC_IMAGELIST_MASKCOLOR );
+ VAR_SVDYNAMIC, (sal_uInt32)RscImageListFlags::MaskColor );
RscCont * pCont = new RscCont( pHS->getID( "sal_uInt16 *" ), RSC_NOTYPE );
pCont->SetTypeClass( &aIdUShort );
aBaseLst.push_back( pCont );
nId = aNmTb.Put( "IdList", VARNAME );
pClassImageList->SetVariable( nId, pCont, nullptr, 0,
- RSC_IMAGELIST_IDLIST );
+ (sal_uInt32)RscImageListFlags::IdList );
nId = aNmTb.Put( "FileList", VARNAME );
pClassImageList->SetVariable( nId, pStrLst );
nId = aNmTb.Put( "IdCount", VARNAME );
pClassImageList->SetVariable( nId, &aUShort, nullptr, 0,
- RSC_IMAGELIST_IDCOUNT );
+ (sal_uInt32)RscImageListFlags::IdCount );
return pClassImageList;
}