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

Stephan Bergmann sbergman at redhat.com
Fri Jan 6 10:18:52 UTC 2017


 desktop/source/app/cmdlinehelp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4654e312cfcd84d64bc844c56b3fab8594a76888
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 6 11:18:26 2017 +0100

    loplugin:nullptr
    
    Change-Id: I279e65c2ec5fa7b3b06f01e7ef4e50ed822fcd03

diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index 89ef21a..6498ec8 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -180,7 +180,7 @@ namespace desktop
                 HANDLE hIn = GetStdHandle(STD_INPUT_HANDLE),
                     hOut = GetStdHandle(STD_OUTPUT_HANDLE),
                     hErr = GetStdHandle(STD_ERROR_HANDLE);
-                if (hOut == NULL) // application does not have associated standard handles
+                if (hOut == nullptr) // application does not have associated standard handles
                 {
                     STARTUPINFOA aStartupInfo;
                     aStartupInfo.cb = sizeof(aStartupInfo);


More information about the Libreoffice-commits mailing list