diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-27 11:31:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-28 08:35:34 +0200 |
commit | 9072c5c8551c0bc512865ab15b1054c78706f1f3 (patch) | |
tree | f3e800f6b4f74306ae1bef5ae2b574568e69b690 /scripting | |
parent | 95548d827dff41156ae46f391d73f358dad1b32f (diff) |
convert SbxFlagsBits to scoped enum
Change-Id: I3dd699ca675be2ff4a8bfb7938bd5d43719b304c
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/basscript.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index afd4a307aa42..4691b558d996 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -184,7 +184,7 @@ namespace basprov sal_uInt16 n = 1; for ( const SbxParamInfo* pParamInfo = pInfo->GetParam( n ); pParamInfo; pParamInfo = pInfo->GetParam( ++n ) ) { - if ( ( pParamInfo->nFlags & SBX_OPTIONAL ) != SBX_NONE ) + if ( pParamInfo->nFlags & SbxFlagBits::Optional ) ++nSbxOptional; else nSbxOptional = 0; @@ -216,7 +216,7 @@ namespace basprov // Enable passing by ref if ( xSbxVar->GetType() != SbxVARIANT ) - xSbxVar->SetFlag( SBX_FIXED ); + xSbxVar->SetFlag( SbxFlagBits::Fixed ); } } if ( xSbxParams.Is() ) |