diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-27 21:03:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-27 21:05:19 +0100 |
commit | 5c26f79467e4c5f920b77a058aa079654c322c25 (patch) | |
tree | ecc9d24bb4e0f583baceeb95b877ba9423ac1f06 /sdext/source/pdfimport/inc | |
parent | b3cc2c6d234156e7d5be2c3f2cacd20ab44ce94f (diff) |
cppcheck: noExplicitConstructor
Change-Id: Ibb94d40706fced3c1c053fd58ef4e2af2d849587
Diffstat (limited to 'sdext/source/pdfimport/inc')
-rw-r--r-- | sdext/source/pdfimport/inc/pdfparse.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sdext/source/pdfimport/inc/pdfparse.hxx b/sdext/source/pdfimport/inc/pdfparse.hxx index 192f606a7d3c..d1909e7e2294 100644 --- a/sdext/source/pdfimport/inc/pdfparse.hxx +++ b/sdext/source/pdfimport/inc/pdfparse.hxx @@ -40,7 +40,7 @@ public: virtual bool copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) = 0; virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) = 0; - EmitContext( const PDFContainer* pTop = NULL ); + explicit EmitContext( const PDFContainer* pTop = NULL ); virtual ~EmitContext(); // set this to deflate contained streams @@ -70,7 +70,7 @@ struct PDFComment : public PDFEntry { OString m_aComment; - PDFComment( const OString& rComment ) + explicit PDFComment( const OString& rComment ) : PDFEntry(), m_aComment( rComment ) {} virtual ~PDFComment(); virtual bool emit( EmitContext& rWriteContext ) const SAL_OVERRIDE; @@ -88,7 +88,7 @@ struct PDFName : public PDFValue { OString m_aName; - PDFName( const OString& rName ) + explicit PDFName( const OString& rName ) : PDFValue(), m_aName( rName ) {} virtual ~PDFName(); virtual bool emit( EmitContext& rWriteContext ) const SAL_OVERRIDE; @@ -101,7 +101,7 @@ struct PDFString : public PDFValue { OString m_aString; - PDFString( const OString& rString ) + explicit PDFString( const OString& rString ) : PDFValue(), m_aString( rString ) {} virtual ~PDFString(); virtual bool emit( EmitContext& rWriteContext ) const SAL_OVERRIDE; @@ -114,7 +114,7 @@ struct PDFNumber : public PDFValue { double m_fValue; - PDFNumber( double fVal ) + explicit PDFNumber( double fVal ) : PDFValue(), m_fValue( fVal ) {} virtual ~PDFNumber(); virtual bool emit( EmitContext& rWriteContext ) const SAL_OVERRIDE; @@ -125,7 +125,7 @@ struct PDFBool : public PDFValue { bool m_bValue; - PDFBool( bool bVal ) + explicit PDFBool( bool bVal ) : PDFValue(), m_bValue( bVal ) {} virtual ~PDFBool(); virtual bool emit( EmitContext& rWriteContext ) const SAL_OVERRIDE; |