From 44e20713ebcd3b3ed9a490f54b0b17bd6cd57372 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 21 May 2016 15:41:43 +0200 Subject: Convert RSC_IMAGEBUTTON to scoped enum Change-Id: Iedb0cfa8678627dbd0445e05524bd26a2c5838a2 Reviewed-on: https://gerrit.libreoffice.org/25258 Tested-by: Jenkins Reviewed-by: Noel Grandin --- rsc/source/parser/rscicpx.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rsc/source/parser') 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) -- cgit stro/cib/libreoffice-6-1'>distro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2013-11-26generate setuprc for instdirDavid Tardon
2013-11-26generate sofficerc for instdirDavid Tardon
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
2013-10-28Related fdo#70919 Missing instdir redirect ini-fileStephan Bergmann
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist
2013-09-23Try to fix cross-compilationTor Lillqvist
2013-09-17goodbye linkoo.. you have served wellMatúš Kukan
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann
2013-09-09properly generate rc filesMatúš Kukan
2013-09-09ure: install files with filelistsMatúš Kukan
2013-05-10More gb_PROGRAMDIRNAME clean upStephan Bergmann
2013-05-05copy pyuno files to instdirDavid Tardon
2013-04-28generate versionrc for instdirDavid Tardon
2013-04-28gbuild: add ure-link to instdirDavid Tardon
2013-04-28gbuild: generate ooenv for instdirDavid Tardon