diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:27:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:57 +0100 |
commit | cf7dc8bc19650fe5e814205b512dffad8299c276 (patch) | |
tree | ae3653c5038c3e2d6f2afce7ae6ca21fdf848a2e /unotools/source/config/printwarningoptions.cxx | |
parent | 34a66ff58a20856fb4388e523becdd5397e08fb0 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ib80c434598481ca0d05c800991fea9b30ef329f8
Diffstat (limited to 'unotools/source/config/printwarningoptions.cxx')
-rw-r--r-- | unotools/source/config/printwarningoptions.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/printwarningoptions.cxx b/unotools/source/config/printwarningoptions.cxx index b14efe94b0d7..1b5650873cc6 100644 --- a/unotools/source/config/printwarningoptions.cxx +++ b/unotools/source/config/printwarningoptions.cxx @@ -225,7 +225,7 @@ Sequence< OUString > SvtPrintWarningOptions_Impl::impl_GetPropertyNames() // DON'T DO IT IN YOUR HEADER! // see definition for further information -SvtPrintWarningOptions_Impl* SvtPrintWarningOptions::m_pDataContainer = NULL; +SvtPrintWarningOptions_Impl* SvtPrintWarningOptions::m_pDataContainer = nullptr; sal_Int32 SvtPrintWarningOptions::m_nRefCount = 0; // constructor @@ -237,7 +237,7 @@ SvtPrintWarningOptions::SvtPrintWarningOptions() // Increase our refcount ... ++m_nRefCount; // ... and initialize our data container only if it not already! - if( m_pDataContainer == NULL ) + if( m_pDataContainer == nullptr ) { m_pDataContainer = new SvtPrintWarningOptions_Impl(); ItemHolder1::holdConfigItem(E_PRINTWARNINGOPTIONS); @@ -257,7 +257,7 @@ SvtPrintWarningOptions::~SvtPrintWarningOptions() if( m_nRefCount <= 0 ) { delete m_pDataContainer; - m_pDataContainer = NULL; + m_pDataContainer = nullptr; } } |