diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-12-07 09:54:07 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-12-07 09:54:07 +0000 |
commit | 053790db7332784444d8ae0b3f5dd1a2232237eb (patch) | |
tree | 040ac83062f0462b06d977cdbbe0505cfd3a680d /scripting | |
parent | 69b818ee52841b21ac688f55c2167df2643b9eda (diff) |
INTEGRATION: CWS sb27 (1.7.14); FILE MERGED
2004/12/03 15:34:29 toconnor 1.7.14.1: #i38361# allow macro execution when no document is loaded
Issue number:
Submitted by:
Reviewed by:
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index 26e8f345d9a2..8aa616293b49 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ActiveMSPList.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2004-10-22 14:05:33 $ + * last change: $Author: rt $ $Date: 2004-12-07 10:54:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -155,9 +155,8 @@ ActiveMSPList::createMSP( const Any& aContext ) } else { - ::rtl::OUString message = - OUSTR( "Failed to extract XModel from context, could not create MasterScriptProvider" ); - throw RuntimeException( message, Reference< XInterface >() ); + createNonDocMSPs(); + return m_hMsps[ shareDirString ]; } } |