summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/powerpoint/pptimporteruno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/powerpoint/pptimporteruno.cxx')
-rw-r--r--filter/source/msfilter/powerpoint/pptimporteruno.cxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/filter/source/msfilter/powerpoint/pptimporteruno.cxx b/filter/source/msfilter/powerpoint/pptimporteruno.cxx
index feeef52173d6..3725382026f7 100644
--- a/filter/source/msfilter/powerpoint/pptimporteruno.cxx
+++ b/filter/source/msfilter/powerpoint/pptimporteruno.cxx
@@ -44,33 +44,6 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-extern "C" sal_Bool SAL_CALL component_writeInfo( void* /* pServiceManager */, void* pRegistryKey )
-{
- sal_Bool bRet = sal_False;
-
- if( pRegistryKey )
- {
- try
- {
- NMSP_UNO::Reference< NMSP_REGISTRY::XRegistryKey > xNewKey(
- reinterpret_cast< NMSP_REGISTRY::XRegistryKey * >( pRegistryKey )->createKey(
- PptImporter_getImplementationName() ) );
- xNewKey = xNewKey->createKey( B2UCONST( "/UNO/SERVICES" ) );
- const SEQ( NMSP_RTL::OUString )& rSNL = PptImporter_getSupportedServiceNames();
- const NMSP_RTL::OUString * pArray = rSNL.getConstArray();
- for ( sal_Int32 nPos = rSNL.getLength(); nPos--; )
- xNewKey->createKey( pArray[nPos] );
- bRet = sal_True;
- }
- catch( NMSP_REGISTRY::InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
- }
- }
-
- return bRet;
-}
-
extern "C" void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ )
{
REF( NMSP_LANG::XSingleServiceFactory ) xFactory;