summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-09 19:41:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-10 11:34:25 +0200
commit4b3430f27a01a256e268aa19d51f7c2e1a61534c (patch)
tree5b9c58b9c9ab6503a132bc6b1e3f64e5bd190fff /sax
parent926e4e469d0285ee72f8da80f00370b4b3120417 (diff)
loplugin:simplifyconstruct in reportdesign..sax
Change-Id: I7d2a754cdc5576b5a5b35db2fbffd19ea17c16ff Reviewed-on: https://gerrit.libreoffice.org/60224 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx3
-rw-r--r--sax/source/tools/CachedOutputStream.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index e35bb5c2b0e3..bbe1d5840538 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -939,8 +939,7 @@ class SAXWriter :
{
public:
SAXWriter()
- : m_pSaxWriterHelper(nullptr)
- , m_bDocStarted(false)
+ : m_bDocStarted(false)
, m_bIsCDATA(false)
, m_bForceLineBreak(false)
, m_bAllowLineBreak(false)
diff --git a/sax/source/tools/CachedOutputStream.hxx b/sax/source/tools/CachedOutputStream.hxx
index a71b9788ba5a..8eca0a4c84e1 100644
--- a/sax/source/tools/CachedOutputStream.hxx
+++ b/sax/source/tools/CachedOutputStream.hxx
@@ -47,7 +47,6 @@ public:
, mpCache(mnMaximumSize)
, pSeq(mpCache.get())
, mbWriteToOutStream(true)
- , mpForMerge(nullptr)
{}
const css::uno::Reference< css::io::XOutputStream >& getOutputStream() const