summaryrefslogtreecommitdiff
path: root/xmlsecurity/tools/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/tools/standalone')
-rw-r--r--xmlsecurity/tools/standalone/csfit/helper.cxx21
-rw-r--r--xmlsecurity/tools/standalone/csfit/helper.hxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/helper.cxx22
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/helper.hxx2
4 files changed, 0 insertions, 47 deletions
diff --git a/xmlsecurity/tools/standalone/csfit/helper.cxx b/xmlsecurity/tools/standalone/csfit/helper.cxx
index 6062c1d79e12..a4dd05aeef74 100644
--- a/xmlsecurity/tools/standalone/csfit/helper.cxx
+++ b/xmlsecurity/tools/standalone/csfit/helper.cxx
@@ -111,27 +111,6 @@ Reference< XMultiComponentFactory > serviceManager( Reference< XComponentContext
"serviceManager - "
"Cannot create intial service manager" ) ;
- /*-
- * Because of the exception rasied from
- * ucbhelper/source/provider/provconf.cxx, lin 323
- * I do not use the content broker at present
- ********************************************************************
- //init ucb
- if( ::ucb::ContentBroker::get() == NULL ) {
- Reference< lang::XMultiServiceFactory > xSvmg( xLocalServiceManager , UNO_QUERY ) ;
- OSL_ENSURE( xLocalServiceManager.is() ,
- "serviceManager - "
- "Cannot get multi-service factory" ) ;
-
- Sequence< Any > args( 2 ) ;
- args[ 0 ] <<= OUString( UCB_CONFIGURATION_KEY1_LOCAL ) ;
- args[ 1 ] <<= OUString( UCB_CONFIGURATION_KEY2_OFFICE ) ;
- if( ! ::ucb::ContentBroker::initialize( xSvmg , args ) ) {
- throw RuntimeException( OUString("Cannot inlitialize ContentBroker") , Reference< XInterface >() , Any() ) ;
- }
- }
- ********************************************************************/
-
xUsedComponentContext = xLocalComponentContext ;
xUsedServiceManager = xLocalServiceManager ;
} else {
diff --git a/xmlsecurity/tools/standalone/csfit/helper.hxx b/xmlsecurity/tools/standalone/csfit/helper.hxx
index 9ff67e54aab5..be52ab950698 100644
--- a/xmlsecurity/tools/standalone/csfit/helper.hxx
+++ b/xmlsecurity/tools/standalone/csfit/helper.hxx
@@ -24,8 +24,6 @@
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/servicefactory.hxx>
-#include <ucbhelper/contentbroker.hxx>
-#include <ucbhelper/configurationkeys.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/bridge/XUnoUrlResolver.hpp>
diff --git a/xmlsecurity/tools/standalone/mscsfit/helper.cxx b/xmlsecurity/tools/standalone/mscsfit/helper.cxx
index 61886c6afc0d..6cd492a7be5c 100644
--- a/xmlsecurity/tools/standalone/mscsfit/helper.cxx
+++ b/xmlsecurity/tools/standalone/mscsfit/helper.cxx
@@ -110,28 +110,6 @@ Reference< XMultiComponentFactory > serviceManager( Reference< XComponentContext
"serviceManager - "
"Cannot create intial service manager" ) ;
- /*-
- * Because of the exception rasied from
- * ucbhelper/source/provider/provconf.cxx, lin 323
- * I do not use the content broker at present
- ********************************************************************
- //init ucb
- if( ::ucb::ContentBroker::get() == NULL ) {
- Reference< lang::XMultiServiceFactory > xSvmg( xLocalServiceManager , UNO_QUERY ) ;
- OSL_ENSURE( xLocalServiceManager.is() ,
- "serviceManager - "
- "Cannot get multi-service factory" ) ;
-
- Sequence< Any > args( 2 ) ;
- args[ 0 ] <<= OUString( UCB_CONFIGURATION_KEY1_LOCAL ) ;
- args[ 1 ] <<= OUString( UCB_CONFIGURATION_KEY2_OFFICE ) ;
- if( ! ::ucb::ContentBroker::initialize( xSvmg , args ) ) {
- throw RuntimeException( OUString("Cannot inlitialize ContentBroker") , Reference< XInterface >() , Any() ) ;
- }
- }
- ********************************************************************/
-
-
xUsedComponentContext = xLocalComponentContext ;
xUsedServiceManager = xLocalServiceManager ;
} else {
diff --git a/xmlsecurity/tools/standalone/mscsfit/helper.hxx b/xmlsecurity/tools/standalone/mscsfit/helper.hxx
index fa185219307e..e345c92ea887 100644
--- a/xmlsecurity/tools/standalone/mscsfit/helper.hxx
+++ b/xmlsecurity/tools/standalone/mscsfit/helper.hxx
@@ -23,8 +23,6 @@
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/servicefactory.hxx>
-#include <ucbhelper/contentbroker.hxx>
-#include <ucbhelper/configurationkeys.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/bridge/XUnoUrlResolver.hpp>