summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/pdfparse
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/pdfparse')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx2
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index 1f8cf7e7a32c..98039e93a7b9 100644
--- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
@@ -68,7 +68,7 @@ struct EmitImplData
return false;
}
- EmitImplData( const PDFContainer* pTopContainer ) :
+ explicit EmitImplData( const PDFContainer* pTopContainer ) :
m_pObjectContainer( pTopContainer ),
m_nDecryptObject( 0 ),
m_nDecryptGeneration( 0 )
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index 7600d3c6a6d9..cacbab097e78 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -77,7 +77,7 @@ class PDFGrammar : public grammar< PDFGrammar<iteratorT> >
{
public:
- PDFGrammar( const iteratorT& first )
+ explicit PDFGrammar( const iteratorT& first )
: m_fDouble( 0.0 ), m_aGlobalBegin( first ) {}
~PDFGrammar()
{
@@ -130,7 +130,7 @@ public:
template< typename ScannerT >
struct definition
{
- definition( const PDFGrammar<iteratorT>& rSelf )
+ explicit definition( const PDFGrammar<iteratorT>& rSelf )
{
PDFGrammar<iteratorT>* pSelf = const_cast< PDFGrammar<iteratorT>* >( &rSelf );