From ec6f6688db6bd9fd8f29fb5ffa19e561fac0afc0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 15 Feb 2016 22:29:32 +0200 Subject: loplugin:nullptr Change-Id: I768b45818eaa0138d033bfcf6fd6e94459e44c0b (cherry picked from commit 4c251ee490523675211afa0f967de2830067f9bc) --- desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 7e47e1e6db36..a659096ccc3c 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2223,7 +2223,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char static bool bPreInited = false; // What stage are we at ? - if (pThis == NULL) + if (pThis == nullptr) eStage = PRE_INIT; else if (bPreInited) eStage = SECOND_INIT; -- cgit