From b58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:13:27 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I7257532b90e3e393d56d5349531c9ad397523bca --- cui/source/options/optopencl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/options/optopencl.cxx') diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx index db508a2d40dd..71cd281480dc 100644 --- a/cui/source/options/optopencl.cxx +++ b/cui/source/options/optopencl.cxx @@ -183,7 +183,7 @@ void fillListBox(SvSimpleTable* pListBox, const OpenCLConfig::ImplMatcherSet& rS for (auto i = rSet.cbegin(); i != rSet.cend(); ++i) { OpenCLConfig::ImplMatcher* pImpl = new OpenCLConfig::ImplMatcher(*i); - pListBox->InsertEntry(format(*i), NULL, false, TREELIST_APPEND, pImpl); + pListBox->InsertEntry(format(*i), nullptr, false, TREELIST_APPEND, pImpl); } pListBox->SetUpdateMode(true); -- cgit