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/lwpobjstrm.cxx | |
parent | 53a2e93fc5a4872b36fb8e76ddd4b722a18cb49b (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjstrm.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjstrm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx index 1c4c6c631ba9..2ab543a4cba9 100644 --- a/lotuswordpro/source/filter/lwpobjstrm.cxx +++ b/lotuswordpro/source/filter/lwpobjstrm.cxx @@ -65,7 +65,7 @@ * @descr ctor() from LwpSvStream */ LwpObjectStream::LwpObjectStream(LwpSvStream *pStrm, bool isCompressed, sal_uInt16 size) - :m_pContentBuf(NULL), m_nBufSize(size), m_nReadPos(0), + :m_pContentBuf(nullptr), m_nBufSize(size), m_nReadPos(0), m_pStrm(pStrm), m_bCompressed(isCompressed) { assert(size<IO_BUFFERSIZE); @@ -78,7 +78,7 @@ void LwpObjectStream::ReadStream() { if(m_nBufSize == 0) { - m_pContentBuf = NULL; + m_pContentBuf = nullptr; } else { @@ -157,7 +157,7 @@ void LwpObjectStream::ReleaseBuffer() if(m_pContentBuf) { delete [] m_pContentBuf; - m_pContentBuf = NULL; + m_pContentBuf = nullptr; } } } |