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/misc/syslocale.cxx | |
parent | 34a66ff58a20856fb4388e523becdd5397e08fb0 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ib80c434598481ca0d05c800991fea9b30ef329f8
Diffstat (limited to 'unotools/source/misc/syslocale.cxx')
-rw-r--r-- | unotools/source/misc/syslocale.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx index 8c15256b0ca9..303b31bedc46 100644 --- a/unotools/source/misc/syslocale.cxx +++ b/unotools/source/misc/syslocale.cxx @@ -33,7 +33,7 @@ using namespace osl; using namespace com::sun::star; -SvtSysLocale_Impl* SvtSysLocale::pImpl = NULL; +SvtSysLocale_Impl* SvtSysLocale::pImpl = nullptr; sal_Int32 SvtSysLocale::nRefCount = 0; class SvtSysLocale_Impl : public utl::ConfigurationListener @@ -53,7 +53,7 @@ private: void setDateAcceptancePatternsConfig(); }; -SvtSysLocale_Impl::SvtSysLocale_Impl() : pCharClass(NULL) +SvtSysLocale_Impl::SvtSysLocale_Impl() : pCharClass(nullptr) { pLocaleData = new LocaleDataWrapper( aSysLocaleOptions.GetRealLanguageTag() ); setDateAcceptancePatternsConfig(); @@ -127,14 +127,14 @@ SvtSysLocale::~SvtSysLocale() if ( !--nRefCount ) { delete pImpl; - pImpl = NULL; + pImpl = nullptr; } } // static Mutex& SvtSysLocale::GetMutex() { - static Mutex* pMutex = NULL; + static Mutex* pMutex = nullptr; if( !pMutex ) { MutexGuard aGuard( Mutex::getGlobalMutex() ); |