From 5db2f0f986b16e11c997c9fa3fb4c002c5a99765 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 9 Oct 2007 14:22:16 +0000 Subject: 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 --- basctl/source/basicide/basobj3.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basctl') 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 -- cgit