summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 09:38:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 12:48:22 +0200
commitfeca66c513a681769c4b66ed1f1e0c70dada246c (patch)
treeb2f806de7f370439fecc69dda5172ba671b799df /tools
parent99e3703a845c643f17b589cf8174677ef88bb89a (diff)
loplugin:simplifyconstruct in toolkit..ucb
Change-Id: Ica3efbdbf05a8161861b8be1ccdc62ab4aec1d69 Reviewed-on: https://gerrit.libreoffice.org/60371 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/inet/inetstrm.cxx4
-rw-r--r--tools/source/stream/stream.cxx1
2 files changed, 1 insertions, 4 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index fe14902a6a4a..34cb3736bd07 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -232,12 +232,10 @@ INetMIMEMessageStream::INetMIMEMessageStream(
pSourceMsg(pMsg),
bHeaderGenerated(headerGenerated),
mvBuffer(BUFFER_SIZE),
- pMsgStrm(nullptr),
pMsgRead(nullptr),
pMsgWrite(nullptr),
done(false),
- nChildIndex(0),
- pChildStrm(nullptr)
+ nChildIndex(0)
{
assert(pMsg != nullptr);
maMsgBuffer.SetStreamCharSet(RTL_TEXTENCODING_ASCII_US);
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index e5a36ac893c5..5526f8a509df 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -318,7 +318,6 @@ void SvStream::SetSize(sal_uInt64 const nSize)
SvStream::SvStream() :
m_nActPos(0)
- , m_pRWBuf(nullptr)
, m_pBufPos(nullptr)
, m_nBufSize(0)
, m_nBufActualLen(0)