diff options
Diffstat (limited to 'dtrans/source/win32/ftransl/ftranslentry.cxx')
-rw-r--r-- | dtrans/source/win32/ftransl/ftranslentry.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dtrans/source/win32/ftransl/ftranslentry.cxx b/dtrans/source/win32/ftransl/ftranslentry.cxx index b0bc48cc722e..0e6d324f01cb 100644 --- a/dtrans/source/win32/ftransl/ftranslentry.cxx +++ b/dtrans/source/win32/ftransl/ftranslentry.cxx @@ -25,20 +25,16 @@ #include <com/sun/star/datatransfer/XDataFormatTranslator.hpp> #include "ftransl.hxx" - // some defines - // the service names #define SERVICE_NAME "com.sun.star.datatransfer.DataFormatTranslator" // the implementation names #define IMPL_NAME "com.sun.star.datatransfer.DataFormatTranslator" - // namespace directives - using namespace ::rtl ; using namespace ::cppu ; using namespace ::com::sun::star::uno ; @@ -46,19 +42,15 @@ using namespace ::com::sun::star::registry ; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::datatransfer; - // create a static object to initialize the shell9x library - namespace { - // functions to create a new Clipboad instance; is needed by factory helper implementation // @param rServiceManager - service manager, useful if the component needs other uno services // so we should give it to every UNO-Implementation component - Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& rServiceManager ) { return Reference< XInterface >( static_cast< XDataFormatTranslator* >( new CDataFormatTranslator( comphelper::getComponentContext(rServiceManager) ) ) ); @@ -71,7 +63,6 @@ extern "C" // component_getFactory // returns a factory to create XFilePicker-Services - SAL_DLLPUBLIC_EXPORT void* SAL_CALL ftransl_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ ) { void* pRet = 0; |