Kaydet (Commit) cbf8a5c8 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: noExplicitConstructor

Change-Id: Ic334d7b0110319e0c581eecd111b73d1cce3134d
üst c6bc9b33
...@@ -361,9 +361,9 @@ class LocatorImpl : ...@@ -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
......
...@@ -106,13 +106,13 @@ private: ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment