summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/wcbentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/clipb/wcbentry.cxx')
-rw-r--r--dtrans/source/win32/clipb/wcbentry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/win32/clipb/wcbentry.cxx b/dtrans/source/win32/clipb/wcbentry.cxx
index c5c00ef99cf4..60e506111485 100644
--- a/dtrans/source/win32/clipb/wcbentry.cxx
+++ b/dtrans/source/win32/clipb/wcbentry.cxx
@@ -54,7 +54,7 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void* SAL_CALL sysdtrans_component_getFactory( const sal_Char* pImplName, void* pSrvManager, void* /*pRegistryKey*/ )
{
- void* pRet = 0;
+ void* pRet = nullptr;
if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, WINCLIPBOARD_IMPL_NAME ) ) )
{
@@ -62,7 +62,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL sysdtrans_component_getFactory( const sal_Ch
//OUString( FPS_IMPL_NAME )
Reference< XSingleServiceFactory > xFactory ( createOneInstanceFactory(
- reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
+ static_cast< XMultiServiceFactory* > ( pSrvManager ),
OUString::createFromAscii( pImplName ),
createInstance,
aSNS ) );