summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/stylesettings.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:26:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:54 +0100
commit175e2adfd1677cb83373b0ba47853493f3b77859 (patch)
tree8509fc88a7b4875ece2b50530e35bef17d9d4d29 /toolkit/source/awt/stylesettings.cxx
parenta9b4c9ca3df362cbe0f7904003197bcadd607215 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ied9204441c07f1f6a6026c8c1a2fa21b93b98e1a
Diffstat (limited to 'toolkit/source/awt/stylesettings.cxx')
-rw-r--r--toolkit/source/awt/stylesettings.cxx4
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;
}