[Libreoffice-commits] core.git: extensions/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 18 08:29:37 UTC 2018


 extensions/source/dbpilots/controlwizard.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ad7a2511ed956295bec0391c0dd2cc329970a079
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Sep 18 10:10:45 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Sep 18 10:11:41 2018 +0200

    use nullptr instead of reinterpret_cast<void*>(0)
    
    Change-Id: I1b424fd2fbf524c36746e9e39300595328979937

diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx
index b5e4e289da51..3b7928cb3556 100644
--- a/extensions/source/dbpilots/controlwizard.cxx
+++ b/extensions/source/dbpilots/controlwizard.cxx
@@ -159,7 +159,7 @@ namespace dbp
         for (;pItems < pEnd; ++pItems)
         {
             nPos = _rList.InsertEntry(*pItems);
-            _rList.SetEntryData(nPos, reinterpret_cast<void*>(0));
+            _rList.SetEntryData(nPos, nullptr);
         }
     }
 


More information about the Libreoffice-commits mailing list