summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab/MacabDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/macab/MacabDriver.cxx')
-rw-r--r--connectivity/source/drivers/macab/MacabDriver.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx
index 3972e5bc289d..69881a4ac1a4 100644
--- a/connectivity/source/drivers/macab/MacabDriver.cxx
+++ b/connectivity/source/drivers/macab/MacabDriver.cxx
@@ -70,8 +70,8 @@ void throwNoMacOSException()
MacabImplModule::MacabImplModule()
:m_bAttemptedLoadModule(false)
- ,m_hConnectorModule(NULL)
- ,m_pConnectionFactoryFunc(NULL)
+ ,m_hConnectorModule(nullptr)
+ ,m_pConnectionFactoryFunc(nullptr)
{
}
@@ -98,7 +98,7 @@ namespace
{ // did not find the symbol
OSL_FAIL( OString( OString( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " ) + OString( _pAsciiSymbolName ) ).getStr() );
osl_unloadModule( _rModule );
- _rModule = NULL;
+ _rModule = nullptr;
}
}
}
@@ -110,7 +110,7 @@ extern "C" { static void SAL_CALL thisModule() {} }
bool MacabImplModule::impl_loadModule()
{
if ( m_bAttemptedLoadModule )
- return ( m_hConnectorModule != NULL );
+ return ( m_hConnectorModule != nullptr );
m_bAttemptedLoadModule = true;
OSL_ENSURE( !m_hConnectorModule && !m_pConnectionFactoryFunc,
@@ -134,12 +134,12 @@ bool MacabImplModule::impl_loadModule()
void MacabImplModule::impl_unloadModule()
{
- OSL_PRECOND( m_hConnectorModule != NULL, "MacabImplModule::impl_unloadModule: no module!" );
+ OSL_PRECOND( m_hConnectorModule != nullptr, "MacabImplModule::impl_unloadModule: no module!" );
osl_unloadModule( m_hConnectorModule );
- m_hConnectorModule = NULL;
+ m_hConnectorModule = nullptr;
- m_pConnectionFactoryFunc = NULL;
+ m_pConnectionFactoryFunc = nullptr;
m_bAttemptedLoadModule = false;
}