summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-21 16:22:07 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 11:49:32 +0000
commitf107d453819fe06e1e8d46ffb3cc866f119d74fd (patch)
treec736accea43af430d2f7ba6233840060df1cad19 /scripting
parent833088b18015381dc8f90e4e868f96b7e882334f (diff)
Convert SbxClassType to scoped enum
Change-Id: I48afcdd9924d22b52a8db21aa253061e4d38c85b Reviewed-on: https://gerrit.libreoffice.org/25259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/basprov/basprov.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx
index 6e3fd4948422..49ba35497acb 100644
--- a/scripting/source/basprov/basprov.cxx
+++ b/scripting/source/basprov/basprov.cxx
@@ -364,7 +364,7 @@ namespace basprov
SbxArray* pMethods = pModule->GetMethods();
if ( pMethods )
{
- SbMethod* pMethod = static_cast< SbMethod* >( pMethods->Find( aMethod, SbxCLASS_METHOD ) );
+ SbMethod* pMethod = static_cast< SbMethod* >( pMethods->Find( aMethod, SbxClassType::Method ) );
if ( pMethod && !pMethod->IsHidden() )
{
if ( m_pDocBasicManager == pBasicMgr )