summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/filepicker/FPentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/filepicker/FPentry.cxx')
-rw-r--r--fpicker/source/win32/filepicker/FPentry.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/win32/filepicker/FPentry.cxx b/fpicker/source/win32/filepicker/FPentry.cxx
index 665007c47006..c21317207003 100644
--- a/fpicker/source/win32/filepicker/FPentry.cxx
+++ b/fpicker/source/win32/filepicker/FPentry.cxx
@@ -80,14 +80,14 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void* SAL_CALL fps_win32_component_getFactory(
const sal_Char* pImplName, void* pSrvManager, void* )
{
- void* pRet = 0;
+ void* pRet = nullptr;
if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, FILE_PICKER_IMPL_NAME ) ) )
{
Sequence<OUString> aSNS { FILE_PICKER_SERVICE_NAME };
Reference< XSingleServiceFactory > xFactory ( createSingleFactory(
- reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
+ static_cast< XMultiServiceFactory* > ( pSrvManager ),
OUString::createFromAscii( pImplName ),
createInstance,
aSNS ) );
@@ -103,7 +103,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL fps_win32_component_getFactory(
Sequence<OUString> aSNS { FOLDER_PICKER_SERVICE_NAME };
Reference< XSingleServiceFactory > xFactory ( createSingleFactory(
- reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
+ static_cast< XMultiServiceFactory* > ( pSrvManager ),
OUString::createFromAscii( pImplName ),
createInstance_fop,
aSNS ) );