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 | 3a944e4ebd0c620bbfc367cd0d9289e3eb767678 (patch) | |
tree | 9d25411634475a7ec2e2a4f42cd69bd5c006f9b7 /xmlhelp | |
parent | efa6cd05d30bc5c660c289d9252e07c619eefa6b (diff) |
sb111: #i101955# removed obsolete servertype argument from ConfigurationProvider request
Diffstat (limited to 'xmlhelp')
-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 1d6cb8a15900..77bf3bf490ad 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& ) |