summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-01 12:29:27 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-01 12:29:27 +0000
commit7938ecb6257c561df5ee99079c56746424634dce (patch)
tree8064e88e21775a211ed938991dfb40bcb2d5d004 /unoxml
parentab90758940ebae3eb17a4925f7c4fb53ec54c008 (diff)
INTEGRATION: CWS impress144 (1.8.6); FILE MERGED
2008/06/07 16:42:54 cl 1.8.6.1: #i77982# removed fast sax parser
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/service/services.cxx24
1 files changed, 1 insertions, 23 deletions
diff --git a/unoxml/source/service/services.cxx b/unoxml/source/service/services.cxx
index b201b0602556..aa4f1b18ca60 100644
--- a/unoxml/source/service/services.cxx
+++ b/unoxml/source/service/services.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: services.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -54,13 +54,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
-namespace sax_fastparser
-{
-extern Reference< XInterface > SAL_CALL FastSaxParser_CreateInstance( const Reference< XMultiServiceFactory > & ) throw(Exception);
-extern Sequence< OUString > FastSaxParser_getSupportedServiceNames();
-extern OUString FastSaxParser_getImplementationName();
-}
-
extern "C"
{
@@ -105,14 +98,6 @@ component_writeInfo(void * /*pServiceManager*/, void* pRegistryKey )
xNewKey = xKey->createKey(aImpl);
xNewKey->createKey(CTestListener::_getSupportedServiceNames()[0]);
- // register fast sax parser service
- aImpl = OUString(RTL_CONSTASCII_USTRINGPARAM("/"));
- aImpl += sax_fastparser::FastSaxParser_getImplementationName();
- aImpl += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES"));
- xNewKey = xKey->createKey(aImpl);
- xNewKey->createKey(sax_fastparser::FastSaxParser_getSupportedServiceNames()[0]);
-
-
return sal_True;
}
@@ -155,13 +140,6 @@ component_getFactory(const sal_Char *pImplementationName, void *pServiceManager,
xServiceManager, CTestListener::_getImplementationName(),
CTestListener::_getInstance, CTestListener::_getSupportedServiceNames()));
}
- else if (sax_fastparser::FastSaxParser_getImplementationName().compareToAscii( pImplementationName ) == 0 )
- {
- xFactory = Reference< XSingleServiceFactory >(
- cppu::createSingleFactory(
- xServiceManager, sax_fastparser::FastSaxParser_getImplementationName(),
- sax_fastparser::FastSaxParser_CreateInstance, sax_fastparser::FastSaxParser_getSupportedServiceNames()));
- }
// Factory is valid - service was found.
if ( xFactory.is() )