diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-09-15 13:33:50 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-09-15 13:33:50 +0000 |
commit | c4c85add9ebe877d51f95d56140745e1faf4e01a (patch) | |
tree | 05111b4408ba4baa5c39c1143f369657929e7c2b /ucb | |
parent | 32707f8e3f2c48ca938934ef0f071b26c5f1830c (diff) |
INTEGRATION: CWS writerfilter (1.6.10); FILE MERGED
2006/07/21 07:36:28 hbrinkm 1.6.10.2: RESYNC: (1.6-1.7); FILE MERGED
2006/02/03 16:13:12 abi 1.6.10.1: #127098 call initialization for special args
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/provprox.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx index 4476f5f9d1af..eeb250926c93 100644 --- a/ucb/source/core/provprox.cxx +++ b/ucb/source/core/provprox.cxx @@ -4,9 +4,9 @@ * * $RCSfile: provprox.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:16:23 $ + * last change: $Author: obo $ $Date: 2006-09-15 14:33:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -39,6 +39,9 @@ #ifndef _PROVPROX_HXX #include "provprox.hxx" #endif +#ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_HPP_ +#include <com/sun/star/lang/XInitialization.hpp> +#endif using namespace rtl; using namespace com::sun::star::lang; @@ -356,6 +359,15 @@ UcbContentProviderProxy::getContentProvider() m_xProvider = Reference< XContentProvider >( m_xSMgr->createInstance( m_aService ), UNO_QUERY ); + if(m_aArguments.compareToAscii("NoConfig") == 0) + { + Reference<XInitialization> xInit(m_xProvider,UNO_QUERY); + if(xInit.is()) { + Sequence<Any> aArgs(1); + aArgs[0] <<= m_aArguments; + xInit->initialize(aArgs); + } + } } catch ( RuntimeException const & ) { |