diff options
Diffstat (limited to 'dtrans/source/win32/clipb/wcbentry.cxx')
-rw-r--r-- | dtrans/source/win32/clipb/wcbentry.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dtrans/source/win32/clipb/wcbentry.cxx b/dtrans/source/win32/clipb/wcbentry.cxx index 8ca8563008b6..0e91ccec074f 100644 --- a/dtrans/source/win32/clipb/wcbentry.cxx +++ b/dtrans/source/win32/clipb/wcbentry.cxx @@ -23,20 +23,16 @@ #include <osl/diagnose.h> #include "WinClipboard.hxx" - // some defines - // the service names #define WINCLIPBOARD_SERVICE_NAME "com.sun.star.datatransfer.clipboard.SystemClipboard" // the implementation names #define WINCLIPBOARD_IMPL_NAME "com.sun.star.datatransfer.clipboard.ClipboardW32" - // namespace directives - using namespace ::rtl ; using namespace ::com::sun::star::uno ; using namespace ::com::sun::star::registry ; @@ -44,19 +40,15 @@ using namespace ::cppu ; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::datatransfer::clipboard; - // 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< XClipboard* >( new CWinClipboard( comphelper::getComponentContext(rServiceManager), OUString( "" ) ) ) ); @@ -69,7 +61,6 @@ extern "C" // component_getFactory // returns a factory to create XFilePicker-Services - SAL_DLLPUBLIC_EXPORT void* SAL_CALL sysdtrans_component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ ) { void* pRet = 0; |