summaryrefslogtreecommitdiff
path: root/basic/source/comp/codegen.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-27 11:22:50 +0200
committerNoel Grandin <noel@peralex.com>2015-03-02 08:59:18 +0200
commite9beb264709a8d4a240bb66f6c1ee95658bab4c2 (patch)
tree8d6184b1b0b5a802ec60e7754db89aee1c34f9da /basic/source/comp/codegen.cxx
parentc9c1caa4f9ad955ae864aa2681f890c7706daad1 (diff)
convert SBI_ constants to enum class
Change-Id: I65e706f4e1adfe242808293d9514c9db8d22cc12
Diffstat (limited to 'basic/source/comp/codegen.cxx')
-rw-r--r--basic/source/comp/codegen.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index 9d8ac5762584..785a9e0b18f3 100644
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -137,14 +137,14 @@ void SbiCodeGen::Save()
p->nDimBase = pParser->nBase;
// OPTION take over the EXPLICIT-Flag
if( pParser->bExplicit )
- p->SetFlag( SBIMG_EXPLICIT );
+ p->SetFlag( SbiImageFlags::EXPLICIT );
int nIfaceCount = 0;
if( rMod.mnType == com::sun::star::script::ModuleType::CLASS )
{
OSL_TRACE("COdeGen::save() classmodule processing");
rMod.bIsProxyModule = true;
- p->SetFlag( SBIMG_CLASSMODULE );
+ p->SetFlag( SbiImageFlags::CLASSMODULE );
GetSbData()->pClassFac->AddClassModule( &rMod );
nIfaceCount = pParser->aIfaceVector.size();
@@ -178,7 +178,7 @@ void SbiCodeGen::Save()
// GlobalCode-Flag
if( pParser->HasGlobalCode() )
{
- p->SetFlag( SBIMG_INITCODE );
+ p->SetFlag( SbiImageFlags::INITCODE );
}
// Die Entrypoints:
for( SbiSymDef* pDef = pParser->aPublics.First(); pDef;