summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfilter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:19:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:31 +0100
commit822a0b7046d8f0a8325ad158ea6756d33846c83e (patch)
treee1683caf123afd514361f85c389db52514d02890 /lotuswordpro/source/filter/lwpfilter.cxx
parent53a2e93fc5a4872b36fb8e76ddd4b722a18cb49b (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
Diffstat (limited to 'lotuswordpro/source/filter/lwpfilter.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfilter.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx
index 79aa69b81b9b..b6c2e78fb9a9 100644
--- a/lotuswordpro/source/filter/lwpfilter.cxx
+++ b/lotuswordpro/source/filter/lwpfilter.cxx
@@ -147,7 +147,7 @@ using namespace OpenStormBento;
*/
bool GetLwpSvStream(SvStream *pStream, LwpSvStream * & pLwpSvStream)
{
- SvStream * pDecompressed = NULL;
+ SvStream * pDecompressed = nullptr;
sal_uInt32 nTag;
pStream->Seek(0x10);
@@ -157,14 +157,14 @@ using namespace OpenStormBento;
// small file, needs decompression
if (!Decompress(pStream, pDecompressed))
{
- pLwpSvStream = NULL;
+ pLwpSvStream = nullptr;
return true;
}
pStream->Seek(0);
pDecompressed->Seek(0);
}
- pLwpSvStream = NULL;
+ pLwpSvStream = nullptr;
bool bCompressed = false;
if (pDecompressed)
{
@@ -182,7 +182,7 @@ int ReadWordproFile(SvStream &rStream, uno::Reference<css::xml::sax::XDocumentHa
{
try
{
- LwpSvStream *pRawLwpSvStream = NULL;
+ LwpSvStream *pRawLwpSvStream = nullptr;
std::unique_ptr<LwpSvStream> aLwpSvStream;
std::unique_ptr<LwpSvStream> aCompressedLwpSvStream;
std::unique_ptr<SvStream> aDecompressed;