diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-10-09 14:22:16 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-10-09 14:22:16 +0000 |
commit | 5db2f0f986b16e11c997c9fa3fb4c002c5a99765 (patch) | |
tree | 04dae79bc4dd62616ed7f4b1a146564b3e98aff2 /basctl | |
parent | 7eedc061bc546fd010173b456206fa20c2087bac (diff) |
INTEGRATION: CWS basmgr03 (1.40.12); FILE MERGED
2007/09/24 11:06:16 fs 1.40.12.3: #i81767# getAllScriptDocuments parameter changed
2007/08/24 19:49:30 fs 1.40.12.2: RESYNC: (1.40-1.41); FILE MERGED
2007/07/30 13:40:49 fs 1.40.12.1: #i73331# distinguish between a ScriptDocument being valid and being alive
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basobj3.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx index 99c7935e42eb..486de1a0c1ca 100644 --- a/basctl/source/basicide/basobj3.cxx +++ b/basctl/source/basicide/basobj3.cxx @@ -4,9 +4,9 @@ * * $RCSfile: basobj3.cxx,v $ * - * $Revision: 1.41 $ + * $Revision: 1.42 $ * - * last change: $Author: hr $ $Date: 2007-08-03 09:58:33 $ + * last change: $Author: kz $ $Date: 2007-10-09 15:22:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -199,7 +199,7 @@ SbMethod* BasicIDE::CreateMacro( SbModule* pModule, const String& rMacroName ) pDispatcher->Execute( SID_BASICIDE_UPDATEALLMODULESOURCES ); } - if ( aDocument.isValid() ) + if ( aDocument.isAlive() ) BasicIDE::MarkDocumentModified( aDocument ); return pMethod; @@ -299,7 +299,7 @@ StarBASIC* BasicIDE::FindBasic( const SbxVariable* pVar ) BasicManager* BasicIDE::FindBasicManager( StarBASIC* pLib ) { - ScriptDocuments aDocuments( ScriptDocument::getAllScriptDocuments( true ) ); + ScriptDocuments aDocuments( ScriptDocument::getAllScriptDocuments( ScriptDocument::AllWithApplication ) ); for ( ScriptDocuments::const_iterator doc = aDocuments.begin(); doc != aDocuments.end(); ++doc |