diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 12:27:17 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 12:27:17 +0000 |
commit | 6f3886eb6ef1bc6dbfef7f9188f63aba4fb198a4 (patch) | |
tree | 6916e9d3e127cd3655bb8d9c305ec96d08f5eb32 /scripting | |
parent | d6f572ef81943d388a0231e25d504ba04124e87b (diff) |
INTEGRATION: CWS dba30c (1.21.8); FILE MERGED
2008/05/13 20:22:01 fs 1.21.8.1: joining changes from CWS odbmacros3 to CWS dba30c:
2008/05/13 20:09:42 fs 1.21.6.1: during #i49133#: don't call BasicManager::LoadLib( LIB_NOTFOUND )
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/basprov.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index 7bbcd10b9d74..c63765e9e72d 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: basprov.cxx,v $ - * $Revision: 1.21 $ + * $Revision: 1.22 $ * * This file is part of OpenOffice.org. * @@ -417,8 +417,11 @@ namespace basprov if ( !pBasic ) { USHORT nId = pBasicMgr->GetLibId( aLibrary ); - pBasicMgr->LoadLib( nId ); - pBasic = pBasicMgr->GetLib( aLibrary ); + if ( nId != LIB_NOTFOUND ) + { + pBasicMgr->LoadLib( nId ); + pBasic = pBasicMgr->GetLib( aLibrary ); + } } if ( pBasic ) { |