diff options
author | sb <sb@openoffice.org> | 2009-11-10 10:33:11 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-11-10 10:33:11 +0100 |
commit | 188471f06f4f684e007effe2e3b1492c59041cf0 (patch) | |
tree | a551f1f83cf8da7a95a76226319914db35651ead /xmlhelp/source | |
parent | 605bb7c6f63ff488eb5c083233af9b91846e2985 (diff) |
sb111: #i101955# removed obsolete servertype argument from ConfigurationProvider request
Diffstat (limited to 'xmlhelp/source')
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index 541218a188..aafa55ddad 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -46,8 +46,6 @@ #include <osl/file.hxx> #include <unotools/configmgr.hxx> #include <com/sun/star/frame/XConfigManager.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/beans/PropertyState.hpp> #include <comphelper/processfactory.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -812,23 +810,13 @@ TVChildTarget::getConfiguration(const Reference< XMultiServiceFactory >& m_xSMgr Reference< XMultiServiceFactory > sProvider; if( m_xSMgr.is() ) { - Any aAny; - aAny <<= rtl::OUString::createFromAscii( "plugin" ); - PropertyValue aProp( rtl::OUString::createFromAscii( "servertype" ), - -1, - aAny, - PropertyState_DIRECT_VALUE ); - - Sequence< Any > seq(1); - seq[0] <<= aProp; - try { rtl::OUString sProviderService = rtl::OUString::createFromAscii( "com.sun.star.configuration.ConfigurationProvider" ); sProvider = Reference< XMultiServiceFactory >( - m_xSMgr->createInstanceWithArguments( sProviderService,seq ), + m_xSMgr->createInstance( sProviderService ), UNO_QUERY ); } catch( const com::sun::star::uno::Exception& ) |