summaryrefslogtreecommitdiff
path: root/vcl/inc/toolbox.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-11 14:32:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-11 14:32:07 +0200
commitf541b99855bd70781f8d7d655ab259ff9eb596f0 (patch)
tree162ea1823d835f484f08aaaf2390a9130a23d5e9 /vcl/inc/toolbox.h
parent545d5157f26b7fd3c5648ae6e727b1e1addca68f (diff)
loplugin:nullptr: Better heuristic to determine code shared between C and C++
Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
Diffstat (limited to 'vcl/inc/toolbox.h')
-rw-r--r--vcl/inc/toolbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h
index c3bf697c47b9..7fd621e26767 100644
--- a/vcl/inc/toolbox.h
+++ b/vcl/inc/toolbox.h
@@ -122,7 +122,7 @@ struct ImplToolBoxPrivateData
ImplToolBoxPrivateData();
~ImplToolBoxPrivateData();
- void ImplClearLayoutData() { delete m_pLayoutData; m_pLayoutData = NULL; }
+ void ImplClearLayoutData() { delete m_pLayoutData; m_pLayoutData = nullptr; }
// called when dropdown items are clicked
Link<ToolBox *, void> maDropdownClickHdl;