diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-27 11:37:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-28 08:35:34 +0200 |
commit | 01075a7274bd3921501d382a71720581a48bfd66 (patch) | |
tree | 7f748dfa03ed10666d15dbfa2481cf03171e644b /scripting | |
parent | 9072c5c8551c0bc512865ab15b1054c78706f1f3 (diff) |
inline the "old" SbxErr constants
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
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 4691b558d996..3e5186fa8d9e 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -224,7 +224,7 @@ namespace basprov // call method SbxVariableRef xReturn = new SbxVariable; - ErrCode nErr = SbxERR_OK; + ErrCode nErr = ERRCODE_SBX_OK; // if it's a document-based script, temporarily reset ThisComponent to the script invocation context Any aOldThisComponent; @@ -243,7 +243,7 @@ namespace basprov if ( m_documentBasicManager && m_xDocumentScriptContext.is() ) m_documentBasicManager->SetGlobalUNOConstant( "ThisComponent", aOldThisComponent ); - if ( nErr != SbxERR_OK ) + if ( nErr != ERRCODE_SBX_OK ) { // TODO: throw InvocationTargetException ? } |