diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-06 15:30:55 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-06 15:30:55 +0000 |
commit | 72c850077e6922ef9f954593e980c907fab3c0b8 (patch) | |
tree | bd605ecd30b824405133ce9c9f4c9a80a12b2105 /scripting/source/provider | |
parent | 1b15d686bf0fc076061c4ecff17d94ddf8c7b000 (diff) |
INTEGRATION: CWS odbmacros2 (1.11.54); FILE MERGED
2007/12/17 12:43:37 fs 1.11.54.1: #i49133#
allow to create script providers for documents which do not support
embedded scripts themselves (i.e. don't have the XEmbeddedScripts
interface), but are able to point to such a do cument (via
XScriptInvocationContext) whose scripts they can execute
Diffstat (limited to 'scripting/source/provider')
-rw-r--r-- | scripting/source/provider/ProviderCache.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx index 03a20b80b048..5c74c8f1e8b8 100644 --- a/scripting/source/provider/ProviderCache.cxx +++ b/scripting/source/provider/ProviderCache.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ProviderCache.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2006-09-16 12:28:44 $ + * last change: $Author: kz $ $Date: 2008-03-06 16:30:55 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -215,7 +215,8 @@ ProviderCache::createProvider( ProviderDetails& details ) throw ( RuntimeExcepti { try { - details.provider = Reference< provider::XScriptProvider >( details.factory->createInstanceWithArgumentsAndContext( m_Sctx, m_xContext ), UNO_QUERY_THROW ); + details.provider = Reference< provider::XScriptProvider >( + details.factory->createInstanceWithArgumentsAndContext( m_Sctx, m_xContext ), UNO_QUERY_THROW ); validateXRef( details.provider, "ProviderCache::createProvider, failed to create provider"); } catch ( RuntimeException& e ) |