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
This commit is contained in:
parent
1b15d686bf
commit
72c850077e
1 changed files with 4 additions and 3 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue