summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-21 15:41:43 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-22 17:54:00 +0000
commit44e20713ebcd3b3ed9a490f54b0b17bd6cd57372 (patch)
treeb5661c56a32c37ee3369c926d35be1662b0afceb /rsc
parentef0e063938d1821f362a975ae83c2ab212267b98 (diff)
Convert RSC_IMAGEBUTTON to scoped enum
Change-Id: Iedb0cfa8678627dbd0445e05524bd26a2c5838a2 Reviewed-on: https://gerrit.libreoffice.org/25258 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 86a9a299bf15..815677929cbe 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -378,7 +378,7 @@ RscTop * RscTypCont::InitClassImageButton( RscTop * pSuper,
{
nId = aNmTb.Put( "ButtonImage", VARNAME );
pClassImageButton->SetVariable( nId, pClassImage, nullptr, 0,
- RSC_IMAGEBUTTON_IMAGE );
+ (sal_uInt32)RscImageButtonFlags::Image );
}
// initialize variables
{
@@ -415,11 +415,11 @@ RscTop * RscTypCont::InitClassImageButton( RscTop * pSuper,
// add variable
nVarId = aNmTb.Put( "Symbol", VARNAME );
pClassImageButton->SetVariable( nVarId, pSymbol, nullptr, 0,
- RSC_IMAGEBUTTON_SYMBOL );
+ (sal_uInt32)RscImageButtonFlags::Symbol );
}
nId = aNmTb.Put( "State", VARNAME );
pClassImageButton->SetVariable( nId, pTriState, nullptr, 0,
- RSC_IMAGEBUTTON_STATE );
+ (sal_uInt32)RscImageButtonFlags::State );
INS_WINBIT(pClassImageButton,Repeat)
INS_WINBIT(pClassImageButton,SmallStyle)