summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/ftransl/ftranslentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/ftransl/ftranslentry.cxx')
-rw-r--r--dtrans/source/win32/ftransl/ftranslentry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/win32/ftransl/ftranslentry.cxx b/dtrans/source/win32/ftransl/ftranslentry.cxx
index 99521ab6c2ec..19f5cd0773ad 100644
--- a/dtrans/source/win32/ftransl/ftranslentry.cxx
+++ b/dtrans/source/win32/ftransl/ftranslentry.cxx
@@ -53,14 +53,14 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void* SAL_CALL ftransl_component_getFactory( const sal_Char* pImplName, void* pSrvManager, void* /*pRegistryKey*/ )
{
- void* pRet = 0;
+ void* pRet = nullptr;
if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, IMPL_NAME ) ) )
{
Sequence< OUString > aSNS { SERVICE_NAME };
Reference< XSingleServiceFactory > xFactory ( createOneInstanceFactory(
- reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
+ static_cast< XMultiServiceFactory* > ( pSrvManager ),
OUString::createFromAscii( pImplName ),
createInstance,
aSNS ) );