diff options
Diffstat (limited to 'unotools/source/config/securityoptions.cxx')
-rw-r--r-- | unotools/source/config/securityoptions.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx index df767dfeb620..fad440be2400 100644 --- a/unotools/source/config/securityoptions.cxx +++ b/unotools/source/config/securityoptions.cxx @@ -539,12 +539,12 @@ bool SvtSecurityOptions_Impl::GetOption( SvtSecurityOptions::EOption eOption, bo rpRO = &m_bROBlockUntrustedRefererLinks; break; default: - rpValue = NULL; - rpRO = NULL; + rpValue = nullptr; + rpRO = nullptr; break; } - return rpValue != NULL; + return rpValue != nullptr; } void SvtSecurityOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames ) @@ -944,7 +944,7 @@ Sequence< OUString > SvtSecurityOptions_Impl::GetPropertyNames() // DON'T DO IT IN YOUR HEADER! // see definition for further information -SvtSecurityOptions_Impl* SvtSecurityOptions::m_pDataContainer = NULL; +SvtSecurityOptions_Impl* SvtSecurityOptions::m_pDataContainer = nullptr; sal_Int32 SvtSecurityOptions::m_nRefCount = 0; SvtSecurityOptions::SvtSecurityOptions() @@ -954,7 +954,7 @@ SvtSecurityOptions::SvtSecurityOptions() // Increase our refcount ... ++m_nRefCount; // ... and initialize our data container only if it not already exist! - if( m_pDataContainer == NULL ) + if( m_pDataContainer == nullptr ) { m_pDataContainer = new SvtSecurityOptions_Impl; @@ -973,7 +973,7 @@ SvtSecurityOptions::~SvtSecurityOptions() if( m_nRefCount <= 0 ) { delete m_pDataContainer; - m_pDataContainer = NULL; + m_pDataContainer = nullptr; } } |