summaryrefslogtreecommitdiff
path: root/package/source/xstor/owriteablestream.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/xstor/owriteablestream.cxx
parent72d944181179fa3287a49cf72edb135a77782198 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1e5338558bc57afe51db57655550e9b7246f7214
Diffstat (limited to 'package/source/xstor/owriteablestream.cxx')
-rw-r--r--package/source/xstor/owriteablestream.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 4967e23a96f5..822ab1856f7a 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -263,7 +263,7 @@ OWriteStream_Impl::OWriteStream_Impl( OStorage_Impl* pParent,
sal_Int32 nStorageType,
bool bDefaultCompress,
const uno::Reference< io::XInputStream >& xRelInfoStream )
-: m_pAntiImpl( NULL )
+: m_pAntiImpl( nullptr )
, m_bHasDataToFlush( false )
, m_bFlushed( false )
, m_xPackageStream( xPackageStream )
@@ -491,9 +491,9 @@ void OWriteStream_Impl::DisposeWrappers()
AddLog( "Quiet exception" );
}
- m_pAntiImpl = NULL;
+ m_pAntiImpl = nullptr;
}
- m_pParent = NULL;
+ m_pParent = nullptr;
if ( !m_aInputStreamsList.empty() )
{
@@ -503,7 +503,7 @@ void OWriteStream_Impl::DisposeWrappers()
if ( (*pStreamIter) )
{
(*pStreamIter)->InternalDispose();
- (*pStreamIter) = NULL;
+ (*pStreamIter) = nullptr;
}
}
@@ -2459,7 +2459,7 @@ void SAL_CALL OWriteStream::dispose()
m_xSeekable.clear();
- m_pImpl->m_pAntiImpl = NULL;
+ m_pImpl->m_pAntiImpl = nullptr;
if ( !m_bInitOnDemand )
{
@@ -2487,7 +2487,7 @@ void SAL_CALL OWriteStream::dispose()
}
}
- m_pImpl = NULL;
+ m_pImpl = nullptr;
}
// the listener might try to get rid of parent storage, and the storage would delete this object;