diff options
Diffstat (limited to 'salhelper/source/dynload.cxx')
-rw-r--r-- | salhelper/source/dynload.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/salhelper/source/dynload.cxx b/salhelper/source/dynload.cxx index f881b52937e7..7c9c9ce55612 100644 --- a/salhelper/source/dynload.cxx +++ b/salhelper/source/dynload.cxx @@ -55,7 +55,7 @@ ORealDynamicLoader* ORealDynamicLoader::newInstance(ORealDynamicLoader ** ppSetT if ( !pModule ) { - return NULL; + return nullptr; } initFunc = reinterpret_cast<ApiInitFunction>(osl_getFunctionSymbol( @@ -64,7 +64,7 @@ ORealDynamicLoader* ORealDynamicLoader::newInstance(ORealDynamicLoader ** ppSetT if ( !initFunc ) { osl_unloadModule(pModule); - return NULL; + return nullptr; } return(new ORealDynamicLoader(ppSetToZeroInDestructor, moduleName, @@ -78,14 +78,14 @@ ORealDynamicLoader::~ORealDynamicLoader() { // set the address to zero if( ppSetToZeroInDestructor ) - *ppSetToZeroInDestructor = 0; + *ppSetToZeroInDestructor = nullptr; if (m_pModule) { #ifndef DISABLE_DYNLOADING osl_unloadModule(m_pModule); #endif - m_pModule = NULL; + m_pModule = nullptr; } } |