summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-04-18 15:31:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-19 21:26:43 +0200
commit99c857afdaab9450f31b60723afd8c455947a712 (patch)
treee5ad659a196f4f9fc2cbea3d73d8bf36f3186c0d /tools/source
parent78c613d7df5138f7da9132a6e4aabb1e78321e90 (diff)
loplugin:unusedfields
Change-Id: I43b7a553177bbbdeebe37f7d7e63dfcb2ae70778 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166292 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/stream/stream.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 0fd67ccb2704..7be34fed548f 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -156,8 +156,6 @@ void SvStream::writeNumberWithoutSwap_(const void * pDataSrc, int nDataSize)
void SvLockBytes::close()
{
- if (m_bOwner)
- delete m_pStream;
m_pStream = nullptr;
}