diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:26:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:54 +0100 |
commit | 175e2adfd1677cb83373b0ba47853493f3b77859 (patch) | |
tree | 8509fc88a7b4875ece2b50530e35bef17d9d4d29 /toolkit/source/awt/stylesettings.cxx | |
parent | a9b4c9ca3df362cbe0f7904003197bcadd607215 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ied9204441c07f1f6a6026c8c1a2fa21b93b98e1a
Diffstat (limited to 'toolkit/source/awt/stylesettings.cxx')
-rw-r--r-- | toolkit/source/awt/stylesettings.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index 844d36a88698..1fcd4452ad2b 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -92,7 +92,7 @@ namespace toolkit public: explicit StyleMethodGuard( WindowStyleSettings_Data& i_rData ) { - if ( i_rData.pOwningWindow == NULL ) + if ( i_rData.pOwningWindow == nullptr ) throw DisposedException(); } @@ -135,7 +135,7 @@ namespace toolkit EventObject aEvent( *this ); m_pData->aStyleChangeListeners.disposeAndClear( aEvent ); - m_pData->pOwningWindow = NULL; + m_pData->pOwningWindow = nullptr; } |