summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-02-15 22:29:32 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:59 -0400
commitec6f6688db6bd9fd8f29fb5ffa19e561fac0afc0 (patch)
treec0402524e881db000f51fd8d2f9afc3e5753acc2 /desktop/source
parent953ebe9618074d6a11022d7a94bd1909d20da003 (diff)
loplugin:nullptr
Change-Id: I768b45818eaa0138d033bfcf6fd6e94459e44c0b (cherry picked from commit 4c251ee490523675211afa0f967de2830067f9bc)
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
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;