diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:27:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:57 +0100 |
commit | cf7dc8bc19650fe5e814205b512dffad8299c276 (patch) | |
tree | ae3653c5038c3e2d6f2afce7ae6ca21fdf848a2e /unotools/source/streaming | |
parent | 34a66ff58a20856fb4388e523becdd5397e08fb0 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ib80c434598481ca0d05c800991fea9b30ef329f8
Diffstat (limited to 'unotools/source/streaming')
-rw-r--r-- | unotools/source/streaming/streamhelper.cxx | 2 | ||||
-rw-r--r-- | unotools/source/streaming/streamwrap.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/streaming/streamhelper.cxx b/unotools/source/streaming/streamhelper.cxx index 5c74aeb00d10..40bc0664f73b 100644 --- a/unotools/source/streaming/streamhelper.cxx +++ b/unotools/source/streaming/streamhelper.cxx @@ -118,7 +118,7 @@ void SAL_CALL OInputStreamHelper::closeInput() if (!m_xLockBytes.Is()) throw css::io::NotConnectedException(OUString(), static_cast<css::uno::XWeak*>(this)); - m_xLockBytes = NULL; + m_xLockBytes = nullptr; } } // namespace utl diff --git a/unotools/source/streaming/streamwrap.cxx b/unotools/source/streaming/streamwrap.cxx index 83275822d80f..05d3d93daec8 100644 --- a/unotools/source/streaming/streamwrap.cxx +++ b/unotools/source/streaming/streamwrap.cxx @@ -118,7 +118,7 @@ void SAL_CALL OInputStreamWrapper::closeInput() throw( css::io::NotConnectedExce if (m_bSvStreamOwner) delete m_pSvStream; - m_pSvStream = NULL; + m_pSvStream = nullptr; } void OInputStreamWrapper::checkConnected() const |