cppcheck: noExplicitConstructor

Change-Id: Ic334d7b0110319e0c581eecd111b73d1cce3134d
This commit is contained in:
Caolán McNamara
2015-05-10 21:07:30 +01:00
parent c6bc9b33d5
commit cbf8a5c8b2
2 changed files with 9 additions and 9 deletions

View File

@@ -361,9 +361,9 @@ class LocatorImpl :
// should use a different interface for stream positions! // should use a different interface for stream positions!
{ {
public: public:
LocatorImpl( SaxExpatParser_Impl *p ) explicit LocatorImpl(SaxExpatParser_Impl *p)
: m_pParser(p)
{ {
m_pParser = p;
} }
public: //XLocator public: //XLocator

View File

@@ -106,13 +106,13 @@ private:
sal_uInt32& rPos) throw( SAXException ); sal_uInt32& rPos) throw( SAXException );
inline void FinishStartElement() throw( SAXException ); inline void FinishStartElement() throw( SAXException );
public: public:
SaxWriterHelper(Reference< XOutputStream > m_TempOut) : explicit SaxWriterHelper(Reference< XOutputStream > m_TempOut)
m_out(m_TempOut), : m_out(m_TempOut)
m_Sequence(SEQUENCESIZE), , m_Sequence(SEQUENCESIZE)
mp_Sequence(NULL), , mp_Sequence(NULL)
nLastLineFeedPos(0), , nLastLineFeedPos(0)
nCurrentPos(0), , nCurrentPos(0)
m_bStartElementFinished(true) , m_bStartElementFinished(true)
{ {
OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size to small"); OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size to small");
mp_Sequence = m_Sequence.getArray(); mp_Sequence = m_Sequence.getArray();