convert SBX flag bits to type-safe enum
Change-Id: I18d5d6a27f06ee60a5cb3dc393bf05b51bba4817 Reviewed-on: https://gerrit.libreoffice.org/11070 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
committed by
Noel Grandin
parent
34827767b1
commit
37b9ea92ba
@@ -269,7 +269,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any
|
||||
if( aName == aLibName )
|
||||
{
|
||||
// Search only in the lib, not automatically in application basic
|
||||
sal_uInt16 nFlags = pBasic->GetFlags();
|
||||
SbxFlagBits nFlags = pBasic->GetFlags();
|
||||
pBasic->ResetFlag( SBX_GBLSEARCH );
|
||||
pMethVar = pBasic->Find( aMacro, SbxCLASS_DONTCARE );
|
||||
pBasic->SetFlags( nFlags );
|
||||
|
Reference in New Issue
Block a user