diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-10 21:07:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-10 21:07:55 +0100 |
commit | cbf8a5c8b208c0a6b87a19f799dc5d5613e61e5f (patch) | |
tree | bf4dd91d0407a9c15edffe684a36c83670cc3191 /sax/source/expatwrap/saxwriter.cxx | |
parent | c6bc9b33d5cac1ea40a829754004fde6ae16d8b1 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Ic334d7b0110319e0c581eecd111b73d1cce3134d
Diffstat (limited to 'sax/source/expatwrap/saxwriter.cxx')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 0043e6513995..feb8efd2c6bb 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -106,13 +106,13 @@ private: sal_uInt32& rPos) throw( SAXException ); inline void FinishStartElement() throw( SAXException ); public: - SaxWriterHelper(Reference< XOutputStream > m_TempOut) : - m_out(m_TempOut), - m_Sequence(SEQUENCESIZE), - mp_Sequence(NULL), - nLastLineFeedPos(0), - nCurrentPos(0), - m_bStartElementFinished(true) + explicit SaxWriterHelper(Reference< XOutputStream > m_TempOut) + : m_out(m_TempOut) + , m_Sequence(SEQUENCESIZE) + , mp_Sequence(NULL) + , nLastLineFeedPos(0) + , nCurrentPos(0) + , m_bStartElementFinished(true) { OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size to small"); mp_Sequence = m_Sequence.getArray(); |