summaryrefslogtreecommitdiff
path: root/package/source/zipapi/ZipOutputStream.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:20:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:33 +0100
commit1fc2fe74f2db49b17abc3c4df7feec4f215052ca (patch)
tree0844e3989c0febb1774b5471458314c9c592b103 /package/source/zipapi/ZipOutputStream.cxx
parent72d944181179fa3287a49cf72edb135a77782198 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1e5338558bc57afe51db57655550e9b7246f7214
Diffstat (limited to 'package/source/zipapi/ZipOutputStream.cxx')
-rw-r--r--package/source/zipapi/ZipOutputStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/zipapi/ZipOutputStream.cxx b/package/source/zipapi/ZipOutputStream.cxx
index be261cd5bef9..7d8378261666 100644
--- a/package/source/zipapi/ZipOutputStream.cxx
+++ b/package/source/zipapi/ZipOutputStream.cxx
@@ -43,7 +43,7 @@ using namespace com::sun::star::packages::zip::ZipConstants;
ZipOutputStream::ZipOutputStream( const uno::Reference < io::XOutputStream > &xOStream )
: m_xStream(xOStream)
, m_aChucker(xOStream)
-, m_pCurrentEntry(NULL)
+, m_pCurrentEntry(nullptr)
, m_rSharedThreadPool(comphelper::ThreadPool::getSharedOptimalPool())
{
}
@@ -90,7 +90,7 @@ void ZipOutputStream::rawCloseEntry( bool bEncrypt )
if (bEncrypt)
m_pCurrentEntry->nMethod = STORED;
- m_pCurrentEntry = NULL;
+ m_pCurrentEntry = nullptr;
}
void ZipOutputStream::finish()