Kaydet (Commit) 18f1eb7b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up

after ea6fdbae "tdf#74608 lotuswordpro:
Constructor feature for LotusWordProImportFilter"

Change-Id: I24179fd670bbaa92713cb69bd306930e90a8e698
üst adbad2a5
......@@ -189,33 +189,11 @@ void SAL_CALL LotusWordProImportFilter::initialize( const Sequence< Any >& aArgu
}
}
OUString LotusWordProImportFilter_getImplementationName ()
throw (RuntimeException)
{
return OUString ( "com.sun.star.comp.Writer.LotusWordProImportFilter" );
}
Sequence< OUString > SAL_CALL LotusWordProImportFilter_getSupportedServiceNames( )
throw (RuntimeException)
{
Sequence < OUString > aRet(2);
OUString* pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter";
pArray[1] = "com.sun.star.document.ExtendedTypeDetection";
return aRet;
}
uno::Reference< XInterface > SAL_CALL LotusWordProImportFilter_createInstance( const uno::Reference< XMultiServiceFactory > & rSMgr)
throw( Exception )
{
return static_cast<cppu::OWeakObject*>(new LotusWordProImportFilter( comphelper::getComponentContext(rSMgr) ));
}
// XServiceInfo
OUString SAL_CALL LotusWordProImportFilter::getImplementationName( )
throw (RuntimeException, std::exception)
{
return LotusWordProImportFilter_getImplementationName();
return OUString ( "com.sun.star.comp.Writer.LotusWordProImportFilter" );
}
sal_Bool SAL_CALL LotusWordProImportFilter::supportsService( const OUString& rServiceName )
throw (RuntimeException, std::exception)
......@@ -225,7 +203,11 @@ sal_Bool SAL_CALL LotusWordProImportFilter::supportsService( const OUString& rSe
Sequence< OUString > SAL_CALL LotusWordProImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception)
{
return LotusWordProImportFilter_getSupportedServiceNames();
Sequence < OUString > aRet(2);
OUString* pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter";
pArray[1] = "com.sun.star.document.ExtendedTypeDetection";
return aRet;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -87,19 +87,6 @@ public:
};
OUString LotusWordProImportFilter_getImplementationName()
throw ( css::uno::RuntimeException );
bool SAL_CALL LotusWordProImportFilter_supportsService( const OUString& ServiceName )
throw ( css::uno::RuntimeException );
css::uno::Sequence< OUString > SAL_CALL LotusWordProImportFilter_getSupportedServiceNames( )
throw ( css::uno::RuntimeException );
css::uno::Reference< css::uno::XInterface >
SAL_CALL LotusWordProImportFilter_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr)
throw ( css::uno::Exception );
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
<?xml version="1.0" encoding="UTF-8"?>
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
prefix="lotuswordpro" xmlns="http://openoffice.org/2010/uno-components">
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.Writer.LotusWordProImportFilter"
constructor="LotusWordProImportFilter_get_implementation">
<service name="com.sun.star.document.ImportFilter"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment