diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:15:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:26 +0100 |
commit | 11d365241808405483b79efd7879fa04bee8945e (patch) | |
tree | fae079e798f502f1766fa11a9db0b75fd5c44533 /forms/source/xforms/convert.cxx | |
parent | 3cdda9af2c12a9ae2a1f0bdf8ca898f1f5c69bfb (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ic67c3138ca66c6b6d6fcf76b09d4581e23f51f8d
Diffstat (limited to 'forms/source/xforms/convert.cxx')
-rw-r--r-- | forms/source/xforms/convert.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx index ddf1c7c8dc0e..0e05f2ef2221 100644 --- a/forms/source/xforms/convert.cxx +++ b/forms/source/xforms/convert.cxx @@ -286,11 +286,11 @@ void Convert::init() Convert& Convert::get() { // create our Singleton instance on demand - static Convert* pConvert = NULL; - if( pConvert == NULL ) + static Convert* pConvert = nullptr; + if( pConvert == nullptr ) pConvert = new Convert(); - OSL_ENSURE( pConvert != NULL, "no converter?" ); + OSL_ENSURE( pConvert != nullptr, "no converter?" ); return *pConvert; } |