diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:19:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:31 +0100 |
commit | 822a0b7046d8f0a8325ad158ea6756d33846c83e (patch) | |
tree | e1683caf123afd514361f85c389db52514d02890 /lotuswordpro/source/filter/lwpsilverbullet.cxx | |
parent | 53a2e93fc5a4872b36fb8e76ddd4b722a18cb49b (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
Diffstat (limited to 'lotuswordpro/source/filter/lwpsilverbullet.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpsilverbullet.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx index 1e4d81770b7d..94c4a1577871 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.cxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx @@ -73,7 +73,7 @@ LwpSilverBullet::LwpSilverBullet(LwpObjectHeader& objHdr, LwpSvStream* pStrm) , m_nFlags(0) , m_nUseCount(0) , m_pAtomHolder(new LwpAtomHolder) - , m_pBulletPara(NULL) + , m_pBulletPara(nullptr) { } @@ -231,7 +231,7 @@ LwpPara* LwpSilverBullet::GetBulletPara() LwpStory* pStory = dynamic_cast<LwpStory*>(m_aStory.obj(VO_STORY).get()); if (!pStory) { - return NULL; + return nullptr; } m_pBulletPara = dynamic_cast<LwpPara*>(pStory->GetFirstPara().obj(VO_PARA).get()); @@ -319,7 +319,7 @@ bool LwpSilverBullet::IsBulletOrdered() LwpFribPtr& rFribs = m_pBulletPara->GetFribs(); - return (rFribs.HasFrib(FRIB_TAG_PARANUMBER) != NULL); + return (rFribs.HasFrib(FRIB_TAG_PARANUMBER) != nullptr); } /** |