diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-25 17:56:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:25:30 +0000 |
commit | 702eb3d389f7525674f0743a46c987bc981394f3 (patch) | |
tree | 707655981e36a2e32a76b28427b8468340ca5306 /rsc | |
parent | a92cb70768576bf906449f34db01afadc9ac7816 (diff) |
convert RSC_IMAGE to scoped enum
and drop unused RSC_IMAGE_IMAGEBITMAP
Change-Id: I6c38e5e8e17d288ab525bbef368ebbc7e860e154
Reviewed-on: https://gerrit.libreoffice.org/25458
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 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 1ec99f235f1d..4e0b2fcb6949 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -152,12 +152,10 @@ RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap, // initialize variables nId = aNmTb.Put( "ImageBitmap", VARNAME ); - pClassImage->SetVariable( nId, pClassBitmap, nullptr, 0, RSC_IMAGE_IMAGEBITMAP ); - nId = aNmTb.Put( "MaskBitmap", VARNAME ); - pClassImage->SetVariable( nId, pClassBitmap, nullptr, 0, RSC_IMAGE_MASKBITMAP ); + pClassImage->SetVariable( nId, pClassBitmap, nullptr, 0, (sal_uInt32)RscImageFlags::ImageBitmap ); nId = aNmTb.Put( "MaskColor", VARNAME ); pClassImage->SetVariable( nId, pClassColor, nullptr, - VAR_SVDYNAMIC, RSC_IMAGE_MASKCOLOR ); + VAR_SVDYNAMIC, (sal_uInt32)RscImageFlags::MaskColor ); return pClassImage; } |