[Libreoffice-commits] core.git: xmloff/source

Caolán McNamara caolanm at redhat.com
Sun May 24 12:58:50 PDT 2015


 xmloff/source/chart/ColorPropertySet.cxx             |    2 -
 xmloff/source/chart/MultiPropertySetHandler.hxx      |    4 +-
 xmloff/source/chart/SchXMLAutoStylePoolP.hxx         |    2 -
 xmloff/source/chart/SchXMLPlotAreaContext.hxx        |    4 +-
 xmloff/source/chart/SchXMLTableContext.cxx           |    2 -
 xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx   |    2 -
 xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx |    2 -
 xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx     |    2 -
 xmloff/source/chart/transporttypes.hxx               |    2 -
 xmloff/source/core/DocumentSettingsContext.cxx       |    2 -
 xmloff/source/core/DomExport.cxx                     |    2 -
 xmloff/source/core/RDFaImportHelper.cxx              |    2 -
 xmloff/source/core/xmlexp.cxx                        |    4 +-
 xmloff/source/core/xmlimp.cxx                        |    4 +-
 xmloff/source/core/xmltkmap.cxx                      |    2 -
 xmloff/source/draw/XMLGraphicsDefaultStyle.cxx       |    2 -
 xmloff/source/draw/animationimport.cxx               |    4 +-
 xmloff/source/draw/numithdl.hxx                      |    2 -
 xmloff/source/draw/propimp0.hxx                      |    4 +-
 xmloff/source/draw/sdpropls.cxx                      |    2 -
 xmloff/source/draw/shapeexport.cxx                   |    2 -
 xmloff/source/draw/xexptran.cxx                      |   28 +++++++++----------
 xmloff/source/draw/ximppage.cxx                      |    2 -
 xmloff/source/draw/ximpshow.cxx                      |    2 -
 xmloff/source/forms/controlpropertymap.hxx           |    2 -
 xmloff/source/forms/elementimport.cxx                |    4 +-
 xmloff/source/forms/eventexport.hxx                  |    2 -
 xmloff/source/forms/formcellbinding.cxx              |    2 -
 xmloff/source/forms/gridcolumnproptranslator.cxx     |    2 -
 xmloff/source/forms/gridcolumnproptranslator.hxx     |    2 -
 xmloff/source/forms/layerexport.hxx                  |    2 -
 xmloff/source/forms/layerimport.hxx                  |    2 -
 xmloff/source/forms/officeforms.hxx                  |    2 -
 xmloff/source/style/PageMasterPropHdl.hxx            |    2 -
 xmloff/source/style/PageMasterPropMapper.hxx         |    2 -
 xmloff/source/style/XMLFootnoteSeparatorExport.hxx   |    2 -
 xmloff/source/style/impastpl.hxx                     |    6 ++--
 xmloff/source/style/xmlbahdl.hxx                     |   16 +++++-----
 xmloff/source/style/xmlprmap.cxx                     |    2 -
 xmloff/source/style/xmlstyle.cxx                     |    2 -
 xmloff/source/text/XMLAutoTextEventImport.hxx        |    2 -
 xmloff/source/text/XMLIndexMarkExport.hxx            |    2 -
 xmloff/source/text/XMLLineNumberingExport.hxx        |    2 -
 xmloff/source/text/XMLPropertyBackpatcher.hxx        |    2 -
 xmloff/source/text/XMLTextListAutoStylePool.cxx      |    4 +-
 xmloff/source/text/txtdrope.hxx                      |    2 -
 xmloff/source/text/txtparae.cxx                      |    2 -
 xmloff/source/text/txtprhdl.cxx                      |    4 +-
 xmloff/source/transform/EventOASISTContext.cxx       |    2 -
 xmloff/source/transform/TransformerActions.hxx       |    2 -
 xmloff/source/transform/TransformerTokenMap.hxx      |    2 -
 51 files changed, 82 insertions(+), 82 deletions(-)

New commits:
commit e50698c0ce5fd757d02f68dc5b8dd7ef2bd0cbbf
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun May 24 20:45:48 2015 +0100

    cppcheck: noExplicitConstructor
    
    Change-Id: I8c9e970d5c5931de1a7526cbff3de626ef30bd74

diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx
index 695351d..b8ff05c 100644
--- a/xmloff/source/chart/ColorPropertySet.cxx
+++ b/xmloff/source/chart/ColorPropertySet.cxx
@@ -36,7 +36,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1<
         XPropertySetInfo  >
 {
 public:
-    lcl_ColorPropertySetInfo( bool bFillColor );
+    explicit lcl_ColorPropertySetInfo( bool bFillColor );
 
 protected:
     // ____ XPropertySetInfo ____
diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx
index 0991e67..34252b5 100644
--- a/xmloff/source/chart/MultiPropertySetHandler.hxx
+++ b/xmloff/source/chart/MultiPropertySetHandler.hxx
@@ -45,7 +45,7 @@ public:
     /** @descr  Create a class instance and store the given name.
         @param  rName   The name of the property.
     */
-    PropertyWrapperBase (const OUString & rName)
+    explicit PropertyWrapperBase (const OUString & rName)
         :   msName (rName)
     {}
     virtual ~PropertyWrapperBase()
@@ -121,7 +121,7 @@ public:
             not necessarily XPropertySet or XMultiPropertySet.  It
             is casted later to one of the two of them.
     */
-    MultiPropertySetHandler (::com::sun::star::uno::Reference<
+    explicit MultiPropertySetHandler (::com::sun::star::uno::Reference<
         ::com::sun::star::uno::XInterface> xObject);
     ~MultiPropertySetHandler();
     /** @descr  Add a property to handle.  The type given implicitly by the
diff --git a/xmloff/source/chart/SchXMLAutoStylePoolP.hxx b/xmloff/source/chart/SchXMLAutoStylePoolP.hxx
index 512fd69..ad89168 100644
--- a/xmloff/source/chart/SchXMLAutoStylePoolP.hxx
+++ b/xmloff/source/chart/SchXMLAutoStylePoolP.hxx
@@ -38,7 +38,7 @@ protected:
         ) const SAL_OVERRIDE;
 
 public:
-    SchXMLAutoStylePoolP( SchXMLExport& rSchXMLExport );
+    explicit SchXMLAutoStylePoolP( SchXMLExport& rSchXMLExport );
     virtual ~SchXMLAutoStylePoolP();
 };
 
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
index 3ba8990..6f3fad5 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
@@ -45,7 +45,7 @@ namespace com { namespace sun { namespace star {
 class SchXML3DSceneAttributesHelper : public SdXML3DSceneAttributesHelper
 {
 public:
-    SchXML3DSceneAttributesHelper( SvXMLImport& rImporter );
+    explicit SchXML3DSceneAttributesHelper( SvXMLImport& rImporter );
     virtual ~SchXML3DSceneAttributesHelper();
 
     void getCameraDefaultFromDiagram( const ::com::sun::star::uno::Reference< com::sun::star::chart::XDiagram >& xDiagram );
@@ -57,7 +57,7 @@ private:
 class SchXMLPositonAttributesHelper
 {
 public:
-    SchXMLPositonAttributesHelper( SvXMLImport& rImporter );
+    explicit SchXMLPositonAttributesHelper( SvXMLImport& rImporter );
     ~SchXMLPositonAttributesHelper();
 
     bool readPositioningAttribute( sal_uInt16 nPrefix, const OUString& rLocalName, const OUString& rValue );
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index df2a6d7..d129944 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -65,7 +65,7 @@ typedef ::std::multimap< OUString, OUString >
 
 struct lcl_ApplyCellToData : public ::std::unary_function< SchXMLCell, void >
 {
-    lcl_ApplyCellToData( Sequence< double > & rOutData ) :
+    explicit lcl_ApplyCellToData( Sequence< double > & rOutData ) :
             m_rData( rOutData ),
             m_nIndex( 0 ),
             m_nSize( rOutData.getLength()),
diff --git a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx
index b7dd557..29175b6 100644
--- a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx
+++ b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx
@@ -24,7 +24,7 @@
 class XMLAxisPositionPropertyHdl : public XMLPropertyHandler
 {
 public:
-    XMLAxisPositionPropertyHdl( bool bCrossingValue );
+    explicit XMLAxisPositionPropertyHdl( bool bCrossingValue );
     virtual ~XMLAxisPositionPropertyHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
diff --git a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx
index 2ff296d..a5e6518 100644
--- a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx
+++ b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx
@@ -27,7 +27,7 @@ private:
     bool mbUpperIndicator;
 
 public:
-    XMLErrorIndicatorPropertyHdl( bool bUpper ) : mbUpperIndicator( bUpper )
+    explicit XMLErrorIndicatorPropertyHdl( bool bUpper ) : mbUpperIndicator( bUpper )
         {}
     virtual ~XMLErrorIndicatorPropertyHdl();
 
diff --git a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx
index 59fbf06..48a7cfe 100644
--- a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx
+++ b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx
@@ -24,7 +24,7 @@
 class XMLSymbolTypePropertyHdl : public XMLPropertyHandler
 {
 public:
-    XMLSymbolTypePropertyHdl( bool bIsNamedSymbol );
+    explicit XMLSymbolTypePropertyHdl( bool bIsNamedSymbol );
     virtual ~XMLSymbolTypePropertyHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
diff --git a/xmloff/source/chart/transporttypes.hxx b/xmloff/source/chart/transporttypes.hxx
index 15831c0..cea1ece 100644
--- a/xmloff/source/chart/transporttypes.hxx
+++ b/xmloff/source/chart/transporttypes.hxx
@@ -127,7 +127,7 @@ struct SchXMLAxis
 
 struct GlobalSeriesImportInfo
 {
-    GlobalSeriesImportInfo( bool& rAllRangeAddressesAvailable )
+    explicit GlobalSeriesImportInfo( bool& rAllRangeAddressesAvailable )
         : rbAllRangeAddressesAvailable( rAllRangeAddressesAvailable )
         , nCurrentDataIndex( 0 )
         , nFirstFirstDomainIndex( -1 )
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index f5e7bf7..8dc14ef 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -57,7 +57,7 @@ class XMLMyList
     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
 
 public:
-    XMLMyList(const uno::Reference<uno::XComponentContext>& rxContext);
+    explicit XMLMyList(const uno::Reference<uno::XComponentContext>& rxContext);
 
     void push_back(beans::PropertyValue& aProp) { aProps.push_back(aProp); nCount++; }
     uno::Sequence<beans::PropertyValue> GetSequence();
diff --git a/xmloff/source/core/DomExport.cxx b/xmloff/source/core/DomExport.cxx
index b66fb47..ec55a17 100644
--- a/xmloff/source/core/DomExport.cxx
+++ b/xmloff/source/core/DomExport.cxx
@@ -143,7 +143,7 @@ class DomExport: public DomVisitor
 
 public:
 
-    DomExport( SvXMLExport& rExport );
+    explicit DomExport( SvXMLExport& rExport );
     virtual ~DomExport();
 
     virtual void element( const Reference<XElement>& ) SAL_OVERRIDE;
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 0cf3061..fe4a435 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -69,7 +69,7 @@ class RDFaReader
     }
 
 public:
-    RDFaReader(SvXMLImport const & i_rImport)
+    explicit RDFaReader(SvXMLImport const & i_rImport)
         : m_rImport(i_rImport)
     { }
 
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index fe100a0..405a660 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -145,7 +145,7 @@ const XMLServiceMapEntry_Impl aServiceMap[] =
 class SettingsExportFacade : public ::xmloff::XMLSettingsExportContext
 {
 public:
-    SettingsExportFacade( SvXMLExport& i_rExport )
+    explicit SettingsExportFacade( SvXMLExport& i_rExport )
         :m_rExport( i_rExport )
     {
     }
@@ -213,7 +213,7 @@ private:
     SvXMLExport*    pExport;
 
 public:
-                            SvXMLExportEventListener(SvXMLExport* pExport);
+    explicit SvXMLExportEventListener(SvXMLExport* pExport);
     virtual                 ~SvXMLExportEventListener();
 
                             // XEventListener
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 339e5dd..272505b 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -112,7 +112,7 @@ private:
     SvXMLImport*    pImport;
 
 public:
-                            SvXMLImportEventListener(SvXMLImport* pImport);
+    explicit SvXMLImportEventListener(SvXMLImport* pImport);
     virtual                 ~SvXMLImportEventListener();
 
                             // XEventListener
@@ -173,7 +173,7 @@ getBuildIdsProperty(uno::Reference<beans::XPropertySet> const& xImportInfo)
             sal_uInt16 mnGeneratorVersion;
 
         public:
-            DocumentInfo( const SvXMLImport& rImport )
+            explicit DocumentInfo( const SvXMLImport& rImport )
                 : mnGeneratorVersion( SvXMLImport::ProductVersionUnknown )
             {
                 OUString const buildIds(
diff --git a/xmloff/source/core/xmltkmap.cxx b/xmloff/source/core/xmltkmap.cxx
index fe527c7..da04fd2 100644
--- a/xmloff/source/core/xmltkmap.cxx
+++ b/xmloff/source/core/xmltkmap.cxx
@@ -41,7 +41,7 @@ public:
         nToken( nTok )
     {}
 
-    SvXMLTokenMapEntry_Impl( const SvXMLTokenMapEntry& rEntry ) :
+    explicit SvXMLTokenMapEntry_Impl( const SvXMLTokenMapEntry& rEntry ) :
         nPrefixKey( rEntry.nPrefixKey ),
         sLocalName( GetXMLToken( rEntry.eLocalName ) ),
         nToken( rEntry.nToken )
diff --git a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
index 3473e57..e300a2c 100644
--- a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
+++ b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
@@ -85,7 +85,7 @@ SvXMLImportContext *XMLGraphicsDefaultStyle::CreateChildContext( sal_uInt16 nPre
 
 struct XMLPropertyByIndex {
     sal_Int32 const m_nIndex;
-    XMLPropertyByIndex(sal_Int32 const nIndex) : m_nIndex(nIndex) {}
+    explicit XMLPropertyByIndex(sal_Int32 const nIndex) : m_nIndex(nIndex) {}
     bool operator()(XMLPropertyState const& rProp) {
         return m_nIndex == rProp.mnIndex;
     }
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 1a3f2bd..62c7a38 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -113,7 +113,7 @@ private:
     SvXMLTokenMap* mpAnimationNodeAttributeTokenMap;
 
 public:
-    AnimationsImportHelperImpl( SvXMLImport& rImport );
+    explicit AnimationsImportHelperImpl( SvXMLImport& rImport );
     ~AnimationsImportHelperImpl();
 
     const SvXMLTokenMap& getAnimationNodeTokenMap();
@@ -1258,7 +1258,7 @@ SvXMLImportContext * AnimationNodeContext::CreateChildContext( sal_uInt16 nPrefi
 class AnimationsImport: public SvXMLImport, public XAnimationNodeSupplier
 {
 public:
-    AnimationsImport( const Reference< XComponentContext > & rxContext );
+    explicit AnimationsImport( const Reference< XComponentContext > & rxContext );
     virtual ~AnimationsImport() throw ();
 
     SvXMLImportContext* CreateContext(sal_uInt16 nPrefix, const OUString& rLocalName,   const Reference<XAttributeList>& xAttrList) SAL_OVERRIDE;
diff --git a/xmloff/source/draw/numithdl.hxx b/xmloff/source/draw/numithdl.hxx
index e5ef34f..bc77ff6 100644
--- a/xmloff/source/draw/numithdl.hxx
+++ b/xmloff/source/draw/numithdl.hxx
@@ -31,7 +31,7 @@ class XMLNumRulePropHdl : public XMLPropertyHandler
 private:
     ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XAnyCompare > mxNumRuleCompare;
 public:
-    XMLNumRulePropHdl( ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XAnyCompare > xNumRuleCompare );
+    explicit XMLNumRulePropHdl( ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XAnyCompare > xNumRuleCompare );
     virtual ~XMLNumRulePropHdl();
 
     virtual bool equals( const ::com::sun::star::uno::Any& r1, const ::com::sun::star::uno::Any& r2 ) const SAL_OVERRIDE;
diff --git a/xmloff/source/draw/propimp0.hxx b/xmloff/source/draw/propimp0.hxx
index 1a748b2..43fd8f1 100644
--- a/xmloff/source/draw/propimp0.hxx
+++ b/xmloff/source/draw/propimp0.hxx
@@ -38,7 +38,7 @@ class XMLOpacityPropertyHdl : public XMLPropertyHandler
 private:
     SvXMLImport*    mpImport;
 public:
-    XMLOpacityPropertyHdl( SvXMLImport* pImport );
+    explicit XMLOpacityPropertyHdl( SvXMLImport* pImport );
     virtual ~XMLOpacityPropertyHdl();
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
     virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -59,7 +59,7 @@ private:
     SvXMLExport* mpExport;
 
 public:
-    XMLDateTimeFormatHdl( SvXMLExport* pExport );
+    explicit XMLDateTimeFormatHdl( SvXMLExport* pExport );
     virtual ~XMLDateTimeFormatHdl();
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
     virtual bool exportXML( OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index 009c2ec..45920d9 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -769,7 +769,7 @@ bool XMLCaptionEscapeRelative::exportXML( OUString& rStrExpValue, const Any& rVa
 class XMLMoveSizeProtectHdl : public XMLPropertyHandler
 {
 public:
-    XMLMoveSizeProtectHdl( sal_Int32 nType ) : mnType( nType ) {}
+    explicit XMLMoveSizeProtectHdl( sal_Int32 nType ) : mnType( nType ) {}
 
     virtual bool importXML(
             const OUString& rStrImpValue,
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 96dfd64..d4aee6c 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -556,7 +556,7 @@ namespace
     class NewTextListsHelper
     {
         public:
-            NewTextListsHelper( SvXMLExport& rExp )
+            explicit NewTextListsHelper( SvXMLExport& rExp )
                 : mrExport( rExp )
             {
                 mrExport.GetTextParagraphExport()->PushNewTextListsHelper();
diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx
index 6d9f342..8d0e7b5 100644
--- a/xmloff/source/draw/xexptran.cxx
+++ b/xmloff/source/draw/xexptran.cxx
@@ -168,7 +168,7 @@ void Imp_PutDoubleChar(OUString& rStr, const SvXMLUnitConverter& rConv, double f
 struct ImpSdXMLExpTransObj2DBase
 {
     sal_uInt16                  mnType;
-    ImpSdXMLExpTransObj2DBase(sal_uInt16 nType)
+    explicit ImpSdXMLExpTransObj2DBase(sal_uInt16 nType)
     :   mnType(nType) {}
 };
 
@@ -186,37 +186,37 @@ struct ImpSdXMLExpTransObj2DBase
 struct ImpSdXMLExpTransObj2DRotate : public ImpSdXMLExpTransObj2DBase
 {
     double                      mfRotate;
-    ImpSdXMLExpTransObj2DRotate(double fVal)
+    explicit ImpSdXMLExpTransObj2DRotate(double fVal)
     :   ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_ROTATE), mfRotate(fVal) {}
 };
 struct ImpSdXMLExpTransObj2DScale : public ImpSdXMLExpTransObj2DBase
 {
     ::basegfx::B2DTuple         maScale;
-    ImpSdXMLExpTransObj2DScale(const ::basegfx::B2DTuple& rNew)
+    explicit ImpSdXMLExpTransObj2DScale(const ::basegfx::B2DTuple& rNew)
     :   ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SCALE), maScale(rNew) {}
 };
 struct ImpSdXMLExpTransObj2DTranslate : public ImpSdXMLExpTransObj2DBase
 {
     ::basegfx::B2DTuple         maTranslate;
-    ImpSdXMLExpTransObj2DTranslate(const ::basegfx::B2DTuple& rNew)
+    explicit ImpSdXMLExpTransObj2DTranslate(const ::basegfx::B2DTuple& rNew)
     :   ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE), maTranslate(rNew) {}
 };
 struct ImpSdXMLExpTransObj2DSkewX : public ImpSdXMLExpTransObj2DBase
 {
     double                      mfSkewX;
-    ImpSdXMLExpTransObj2DSkewX(double fVal)
+    explicit ImpSdXMLExpTransObj2DSkewX(double fVal)
     :   ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWX), mfSkewX(fVal) {}
 };
 struct ImpSdXMLExpTransObj2DSkewY : public ImpSdXMLExpTransObj2DBase
 {
     double                      mfSkewY;
-    ImpSdXMLExpTransObj2DSkewY(double fVal)
+    explicit ImpSdXMLExpTransObj2DSkewY(double fVal)
     :   ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWY), mfSkewY(fVal) {}
 };
 struct ImpSdXMLExpTransObj2DMatrix : public ImpSdXMLExpTransObj2DBase
 {
     ::basegfx::B2DHomMatrix     maMatrix;
-    ImpSdXMLExpTransObj2DMatrix(const ::basegfx::B2DHomMatrix& rNew)
+    explicit ImpSdXMLExpTransObj2DMatrix(const ::basegfx::B2DHomMatrix& rNew)
     :   ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_MATRIX), maMatrix(rNew) {}
 };
 
@@ -590,7 +590,7 @@ void SdXMLImExTransform2D::GetFullTransform(::basegfx::B2DHomMatrix& rFullTrans)
 struct ImpSdXMLExpTransObj3DBase
 {
     sal_uInt16                  mnType;
-    ImpSdXMLExpTransObj3DBase(sal_uInt16 nType)
+    explicit ImpSdXMLExpTransObj3DBase(sal_uInt16 nType)
     :   mnType(nType) {}
 };
 
@@ -608,37 +608,37 @@ struct ImpSdXMLExpTransObj3DBase
 struct ImpSdXMLExpTransObj3DRotateX : public ImpSdXMLExpTransObj3DBase
 {
     double                      mfRotateX;
-    ImpSdXMLExpTransObj3DRotateX(double fVal)
+    explicit ImpSdXMLExpTransObj3DRotateX(double fVal)
     :   ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X), mfRotateX(fVal) {}
 };
 struct ImpSdXMLExpTransObj3DRotateY : public ImpSdXMLExpTransObj3DBase
 {
     double                      mfRotateY;
-    ImpSdXMLExpTransObj3DRotateY(double fVal)
+    explicit ImpSdXMLExpTransObj3DRotateY(double fVal)
     :   ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y), mfRotateY(fVal) {}
 };
 struct ImpSdXMLExpTransObj3DRotateZ : public ImpSdXMLExpTransObj3DBase
 {
     double                      mfRotateZ;
-    ImpSdXMLExpTransObj3DRotateZ(double fVal)
+    explicit ImpSdXMLExpTransObj3DRotateZ(double fVal)
     :   ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z), mfRotateZ(fVal) {}
 };
 struct ImpSdXMLExpTransObj3DScale : public ImpSdXMLExpTransObj3DBase
 {
     ::basegfx::B3DTuple         maScale;
-    ImpSdXMLExpTransObj3DScale(const ::basegfx::B3DTuple& rNew)
+    explicit ImpSdXMLExpTransObj3DScale(const ::basegfx::B3DTuple& rNew)
     :   ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_SCALE), maScale(rNew) {}
 };
 struct ImpSdXMLExpTransObj3DTranslate : public ImpSdXMLExpTransObj3DBase
 {
     ::basegfx::B3DTuple         maTranslate;
-    ImpSdXMLExpTransObj3DTranslate(const ::basegfx::B3DTuple& rNew)
+    explicit ImpSdXMLExpTransObj3DTranslate(const ::basegfx::B3DTuple& rNew)
     :   ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE), maTranslate(rNew) {}
 };
 struct ImpSdXMLExpTransObj3DMatrix : public ImpSdXMLExpTransObj3DBase
 {
     ::basegfx::B3DHomMatrix     maMatrix;
-    ImpSdXMLExpTransObj3DMatrix(const ::basegfx::B3DHomMatrix& rNew)
+    explicit ImpSdXMLExpTransObj3DMatrix(const ::basegfx::B3DHomMatrix& rNew)
     :   ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_MATRIX), maMatrix(rNew) {}
 };
 
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index d60ed0f..3be50c6 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -536,7 +536,7 @@ void SdXMLGenericPageContext::SetPageMaster( OUString& rsPageMasterName )
 class XoNavigationOrderAccess : public ::cppu::WeakImplHelper1< XIndexAccess >
 {
 public:
-    XoNavigationOrderAccess( std::vector< Reference< XShape > >& rShapes );
+    explicit XoNavigationOrderAccess( std::vector< Reference< XShape > >& rShapes );
 
     // XIndexAccess
     virtual sal_Int32 SAL_CALL getCount(  ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/xmloff/source/draw/ximpshow.cxx b/xmloff/source/draw/ximpshow.cxx
index 2cc9934..3e154ec 100644
--- a/xmloff/source/draw/ximpshow.cxx
+++ b/xmloff/source/draw/ximpshow.cxx
@@ -56,7 +56,7 @@ public:
     OUString maCustomShowName;
     SdXMLImport& mrImport;
 
-    ShowsImpImpl( SdXMLImport& rImport )
+    explicit ShowsImpImpl( SdXMLImport& rImport )
     :   mrImport( rImport )
     {}
 };
diff --git a/xmloff/source/forms/controlpropertymap.hxx b/xmloff/source/forms/controlpropertymap.hxx
index bd9d258..0ec8bdc 100644
--- a/xmloff/source/forms/controlpropertymap.hxx
+++ b/xmloff/source/forms/controlpropertymap.hxx
@@ -35,7 +35,7 @@ namespace xmloff
     class OFormComponentStyleExportMapper : public SvXMLExportPropertyMapper
     {
     public:
-        OFormComponentStyleExportMapper( const rtl::Reference< XMLPropertySetMapper >& _rMapper );
+        explicit OFormComponentStyleExportMapper( const rtl::Reference< XMLPropertySetMapper >& _rMapper );
 
         void handleSpecialItem(
             SvXMLAttributeList&                         _rAttrList,
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 3c03e0b..737f7e0 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1422,7 +1422,7 @@ namespace xmloff
     struct EqualHandle : public ::std::unary_function< PropertyValue, bool >
     {
         const sal_Int32 m_nHandle;
-        EqualHandle( sal_Int32 _nHandle ) : m_nHandle( _nHandle ) { }
+        explicit EqualHandle( sal_Int32 _nHandle ) : m_nHandle( _nHandle ) { }
 
         inline bool operator()( const PropertyValue& _rProp )
         {
@@ -1475,7 +1475,7 @@ namespace xmloff
     struct EqualName : public ::std::unary_function< PropertyValue, bool >
     {
         const OUString m_sName;
-        EqualName( const OUString& _rName ) : m_sName( _rName ) { }
+        explicit EqualName( const OUString& _rName ) : m_sName( _rName ) { }
 
         inline bool operator()( const PropertyValue& _rProp )
         {
diff --git a/xmloff/source/forms/eventexport.hxx b/xmloff/source/forms/eventexport.hxx
index 29a2b66..e1927d3 100644
--- a/xmloff/source/forms/eventexport.hxx
+++ b/xmloff/source/forms/eventexport.hxx
@@ -52,7 +52,7 @@ namespace xmloff
         MapString2PropertyValueSequence m_aMappedEvents;
 
     public:
-        OEventDescriptorMapper(
+        explicit OEventDescriptorMapper(
             const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents);
 
         // XNameReplace
diff --git a/xmloff/source/forms/formcellbinding.cxx b/xmloff/source/forms/formcellbinding.cxx
index 61797c8..bbd610d 100644
--- a/xmloff/source/forms/formcellbinding.cxx
+++ b/xmloff/source/forms/formcellbinding.cxx
@@ -86,7 +86,7 @@ namespace
         const OUString m_sReference;
 
     public:
-        StringCompare( const OUString& _rReference ) : m_sReference( _rReference ) { }
+        explicit StringCompare( const OUString& _rReference ) : m_sReference( _rReference ) { }
 
         inline bool operator()( const OUString& _rCompare )
         {
diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx
index aebb2c5..d557fc6 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.cxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.cxx
@@ -121,7 +121,7 @@ namespace xmloff
             Reference< XPropertySetInfo >   m_xMasterInfo;
 
         public:
-            OMergedPropertySetInfo( const Reference< XPropertySetInfo >& _rxMasterInfo );
+            explicit OMergedPropertySetInfo( const Reference< XPropertySetInfo >& _rxMasterInfo );
 
         protected:
             virtual ~OMergedPropertySetInfo();
diff --git a/xmloff/source/forms/gridcolumnproptranslator.hxx b/xmloff/source/forms/gridcolumnproptranslator.hxx
index 7707756..5ee7db5 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.hxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.hxx
@@ -38,7 +38,7 @@ namespace xmloff
                 m_xGridColumn;
 
     public:
-        OGridColumnPropertyTranslator(
+        explicit OGridColumnPropertyTranslator(
             const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XMultiPropertySet >& _rxGridColumn
         );
 
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 5f8a3b3..a00fad9 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -120,7 +120,7 @@ namespace xmloff
             // style names of grid columns
 
     public:
-        OFormLayerXMLExport_Impl(SvXMLExport& _rContext);
+        explicit OFormLayerXMLExport_Impl(SvXMLExport& _rContext);
         virtual ~OFormLayerXMLExport_Impl();
 
     protected:
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index 5c4cb67..3cbcb79 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -130,7 +130,7 @@ namespace xmloff
         );
 
     protected:
-        OFormLayerXMLImport_Impl(SvXMLImport& _rImporter);
+        explicit OFormLayerXMLImport_Impl(SvXMLImport& _rImporter);
         virtual ~OFormLayerXMLImport_Impl();
 
         /** start importing the forms of the given page
diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx
index 8a32a6d..a7562c9 100644
--- a/xmloff/source/forms/officeforms.hxx
+++ b/xmloff/source/forms/officeforms.hxx
@@ -65,7 +65,7 @@ namespace xmloff
         SvXMLElementExport*     m_pImplElement;
 
     public:
-        OFormsRootExport( SvXMLExport& _rExp );
+        explicit OFormsRootExport( SvXMLExport& _rExp );
         ~OFormsRootExport();
 
     private:
diff --git a/xmloff/source/style/PageMasterPropHdl.hxx b/xmloff/source/style/PageMasterPropHdl.hxx
index 441cc58..5140e38 100644
--- a/xmloff/source/style/PageMasterPropHdl.hxx
+++ b/xmloff/source/style/PageMasterPropHdl.hxx
@@ -108,7 +108,7 @@ protected:
     OUString         sAttrValue;
 
 public:
-                            XMLPMPropHdl_Print( enum ::xmloff::token::XMLTokenEnum eValue );
+    explicit XMLPMPropHdl_Print( enum ::xmloff::token::XMLTokenEnum eValue );
     virtual                 ~XMLPMPropHdl_Print();
 
     virtual bool            importXML(
diff --git a/xmloff/source/style/PageMasterPropMapper.hxx b/xmloff/source/style/PageMasterPropMapper.hxx
index 8a3814b..27b6d9c 100644
--- a/xmloff/source/style/PageMasterPropMapper.hxx
+++ b/xmloff/source/style/PageMasterPropMapper.hxx
@@ -25,7 +25,7 @@
 class XMLPageMasterPropSetMapper : public XMLPropertySetMapper
 {
 public:
-                        XMLPageMasterPropSetMapper( bool bForExport );
+    explicit XMLPageMasterPropSetMapper( bool bForExport );
                         XMLPageMasterPropSetMapper(
                             const XMLPropertyMapEntry* pEntries,
                             const rtl::Reference< XMLPropertyHandlerFactory >& rFactory,
diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.hxx b/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
index 539d422..15623aa 100644
--- a/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
+++ b/xmloff/source/style/XMLFootnoteSeparatorExport.hxx
@@ -39,7 +39,7 @@ class XMLFootnoteSeparatorExport
 
 public:
 
-    XMLFootnoteSeparatorExport(SvXMLExport& rExp);
+    explicit XMLFootnoteSeparatorExport(SvXMLExport& rExp);
 
     ~XMLFootnoteSeparatorExport();
 
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index dda0e92..3e5670c 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -61,7 +61,7 @@ struct XMLAutoStyleFamily : boost::noncopyable
             const rtl::Reference<SvXMLExportPropertyMapper>& rMapper,
             const OUString& rStrPrefix, bool bAsFamily = true );
 
-    XMLAutoStyleFamily( sal_Int32 nFamily );
+    explicit XMLAutoStyleFamily( sal_Int32 nFamily );
     ~XMLAutoStyleFamily();
 
     friend bool operator<(const XMLAutoStyleFamily& r1, const XMLAutoStyleFamily& r2);
@@ -104,7 +104,7 @@ private:
 
 public:
 
-    XMLAutoStylePoolParent( const OUString & rParent ) :
+    explicit XMLAutoStylePoolParent( const OUString & rParent ) :
         msParent( rParent )
     {
     }
@@ -139,7 +139,7 @@ class SvXMLAutoStylePoolP_Impl
 
 public:
 
-    SvXMLAutoStylePoolP_Impl( SvXMLExport& rExport );
+    explicit SvXMLAutoStylePoolP_Impl( SvXMLExport& rExport );
     ~SvXMLAutoStylePoolP_Impl();
 
     SvXMLExport& GetExport() const { return rExport; }
diff --git a/xmloff/source/style/xmlbahdl.hxx b/xmloff/source/style/xmlbahdl.hxx
index b3bbdf5..6d0423f 100644
--- a/xmloff/source/style/xmlbahdl.hxx
+++ b/xmloff/source/style/xmlbahdl.hxx
@@ -33,7 +33,7 @@ class XMLNumberPropHdl : public XMLPropertyHandler
     sal_Int8 nBytes;
 
 public:
-    XMLNumberPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+    explicit XMLNumberPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
     virtual ~XMLNumberPropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -48,7 +48,7 @@ class XMLNumberNonePropHdl : public XMLPropertyHandler
     OUString sZeroStr;
     sal_Int8        nBytes;
 public:
-    XMLNumberNonePropHdl( sal_Int8 nB = 4 );
+    explicit XMLNumberNonePropHdl( sal_Int8 nB = 4 );
     XMLNumberNonePropHdl( enum ::xmloff::token::XMLTokenEnum eZeroString, sal_Int8 nB = 4 );
     virtual ~XMLNumberNonePropHdl();
 
@@ -63,7 +63,7 @@ class XMLMeasurePropHdl : public XMLPropertyHandler
 {
     sal_Int8 nBytes;
 public:
-    XMLMeasurePropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+    explicit XMLMeasurePropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
     virtual ~XMLMeasurePropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -77,7 +77,7 @@ class XMLPercentPropHdl : public XMLPropertyHandler
 {
     sal_Int8 nBytes;
 public:
-    XMLPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+    explicit XMLPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
     virtual ~XMLPercentPropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -101,7 +101,7 @@ class XMLNegPercentPropHdl : public XMLPropertyHandler
 {
     sal_Int8 nBytes;
 public:
-    XMLNegPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+    explicit XMLNegPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
     virtual ~XMLNegPercentPropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -115,7 +115,7 @@ class XMLMeasurePxPropHdl : public XMLPropertyHandler
 {
     sal_Int8 nBytes;
 public:
-    XMLMeasurePxPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+    explicit XMLMeasurePxPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
     virtual ~XMLMeasurePxPropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -224,7 +224,7 @@ class XMLColorTransparentPropHdl : public XMLPropertyHandler
     const OUString sTransparent;
 
 public:
-    XMLColorTransparentPropHdl( enum ::xmloff::token::XMLTokenEnum eTransparent = xmloff::token::XML_TOKEN_INVALID );
+    explicit XMLColorTransparentPropHdl( enum ::xmloff::token::XMLTokenEnum eTransparent = xmloff::token::XML_TOKEN_INVALID );
     virtual ~XMLColorTransparentPropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
@@ -297,7 +297,7 @@ class XMLNumberWithoutZeroPropHdl : public XMLPropertyHandler
 {
     sal_Int8        nBytes;
 public:
-    XMLNumberWithoutZeroPropHdl( sal_Int8 nB = 4 );
+    explicit XMLNumberWithoutZeroPropHdl( sal_Int8 nB = 4 );
     virtual ~XMLNumberWithoutZeroPropHdl();
 
     virtual bool importXML( const OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const SAL_OVERRIDE;
diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx
index 046fd3d..c340d2c 100644
--- a/xmloff/source/style/xmlprmap.cxx
+++ b/xmloff/source/style/xmlprmap.cxx
@@ -110,7 +110,7 @@ struct XMLPropertySetMapper::Impl
 
     bool mbOnlyExportMappings;
 
-    Impl( bool bForExport ) : mbOnlyExportMappings(bForExport) {}
+    explicit Impl( bool bForExport ) : mbOnlyExportMappings(bForExport) {}
 };
 
 // Ctor
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 341737c9..2e2dcdb 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -262,7 +262,7 @@ class SvXMLStylesContext_Impl
     void FlushIndex() { delete pIndices; pIndices = 0; }
 
 public:
-    SvXMLStylesContext_Impl( bool bAuto );
+    explicit SvXMLStylesContext_Impl( bool bAuto );
     ~SvXMLStylesContext_Impl();
 
     size_t GetStyleCount() const { return aStyles.size(); }
diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx
index 29a3d25d..6b8c874 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.hxx
@@ -44,7 +44,7 @@ class XMLAutoTextEventImport : public SvXMLImport
         ::com::sun::star::container::XNameReplace> xEvents;
 
 public:
-    XMLAutoTextEventImport(
+    explicit XMLAutoTextEventImport(
         const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext
         ) throw();
 
diff --git a/xmloff/source/text/XMLIndexMarkExport.hxx b/xmloff/source/text/XMLIndexMarkExport.hxx
index 5bb2521..b406021 100644
--- a/xmloff/source/text/XMLIndexMarkExport.hxx
+++ b/xmloff/source/text/XMLIndexMarkExport.hxx
@@ -56,7 +56,7 @@ class XMLIndexMarkExport
     SvXMLExport& rExport;
 
 public:
-    XMLIndexMarkExport(SvXMLExport& rExp);
+    explicit XMLIndexMarkExport(SvXMLExport& rExp);
 
     ~XMLIndexMarkExport();
 
diff --git a/xmloff/source/text/XMLLineNumberingExport.hxx b/xmloff/source/text/XMLLineNumberingExport.hxx
index ffc383d..5236f14 100644
--- a/xmloff/source/text/XMLLineNumberingExport.hxx
+++ b/xmloff/source/text/XMLLineNumberingExport.hxx
@@ -44,7 +44,7 @@ class XMLLineNumberingExport
     SvXMLExport& rExport;
 
 public:
-    XMLLineNumberingExport(SvXMLExport& rExp);
+    explicit XMLLineNumberingExport(SvXMLExport& rExp);
 
     void Export();
 };
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.hxx b/xmloff/source/text/XMLPropertyBackpatcher.hxx
index d87c75e..b1bcb00 100644
--- a/xmloff/source/text/XMLPropertyBackpatcher.hxx
+++ b/xmloff/source/text/XMLPropertyBackpatcher.hxx
@@ -88,7 +88,7 @@ class XMLPropertyBackpatcher
 
 public:
 
-    XMLPropertyBackpatcher(
+    explicit XMLPropertyBackpatcher(
         const OUString& sPropertyName);
 
     ~XMLPropertyBackpatcher();
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index fd97636..66fd223 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -54,7 +54,7 @@ public:
             const OUString& rPrefix,
             sal_uInt32& rName );
 
-    XMLTextListAutoStylePoolEntry_Impl(
+    explicit XMLTextListAutoStylePoolEntry_Impl(
             const Reference < XIndexReplace > & rNumRules ) :
         xNumRules( rNumRules ),
         nPos( 0 ),
@@ -68,7 +68,7 @@ public:
         }
     }
 
-    XMLTextListAutoStylePoolEntry_Impl(
+    explicit XMLTextListAutoStylePoolEntry_Impl(
             const OUString& rInternalName ) :
         sInternalName( rInternalName ),
         nPos( 0 ),
diff --git a/xmloff/source/text/txtdrope.hxx b/xmloff/source/text/txtdrope.hxx
index e9c26bb..10cdcbf 100644
--- a/xmloff/source/text/txtdrope.hxx
+++ b/xmloff/source/text/txtdrope.hxx
@@ -30,7 +30,7 @@ class XMLTextDropCapExport
 
 public:
 
-    XMLTextDropCapExport( SvXMLExport& rExport );
+    explicit XMLTextDropCapExport( SvXMLExport& rExport );
     ~XMLTextDropCapExport();
 
     void exportXML( const ::com::sun::star::uno::Any& rAny,
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 46a19e8..226d7e0 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -231,7 +231,7 @@ namespace xmloff
     class BoundFrameSets
     {
         public:
-            BoundFrameSets(const Reference<XInterface>& rModel);
+            explicit BoundFrameSets(const Reference<XInterface>& rModel);
             const BoundFrames* GetTexts() const
                 { return m_pTexts.get(); };
             const BoundFrames* GetGraphics() const
diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx
index 0cc3464..f081619 100644
--- a/xmloff/source/text/txtprhdl.cxx
+++ b/xmloff/source/text/txtprhdl.cxx
@@ -532,7 +532,7 @@ class XMLFrameProtectPropHdl_Impl : public XMLPropertyHandler
 {
     const OUString sVal;
 public:
-    XMLFrameProtectPropHdl_Impl( enum XMLTokenEnum eVal ) :
+    explicit XMLFrameProtectPropHdl_Impl( enum XMLTokenEnum eVal ) :
            sVal( GetXMLToken(eVal) ) {}
     virtual ~XMLFrameProtectPropHdl_Impl ();
 
@@ -1068,7 +1068,7 @@ class XMLTextSyncWidthHeightPropHdl_Impl : public XMLPropertyHandler
     const OUString sValue;
 
 public:
-    XMLTextSyncWidthHeightPropHdl_Impl( enum XMLTokenEnum eValue ) :
+    explicit XMLTextSyncWidthHeightPropHdl_Impl( enum XMLTokenEnum eValue ) :
            sValue( GetXMLToken(eValue) )    {}
     virtual ~XMLTextSyncWidthHeightPropHdl_Impl();
 
diff --git a/xmloff/source/transform/EventOASISTContext.cxx b/xmloff/source/transform/EventOASISTContext.cxx
index 03213be..1ba446f 100644
--- a/xmloff/source/transform/EventOASISTContext.cxx
+++ b/xmloff/source/transform/EventOASISTContext.cxx
@@ -43,7 +43,7 @@ class XMLTransformerOASISEventMap_Impl:
                             NameHash_Impl, NameHash_Impl >
 {
 public:
-    XMLTransformerOASISEventMap_Impl( XMLTransformerEventMapEntry *pInit );
+    explicit XMLTransformerOASISEventMap_Impl( XMLTransformerEventMapEntry *pInit );
     ~XMLTransformerOASISEventMap_Impl();
 };
 
diff --git a/xmloff/source/transform/TransformerActions.hxx b/xmloff/source/transform/TransformerActions.hxx
index f1950ec..79b5961 100644
--- a/xmloff/source/transform/TransformerActions.hxx
+++ b/xmloff/source/transform/TransformerActions.hxx
@@ -136,7 +136,7 @@ class XMLTransformerActions :
                             NameHash_Impl, NameHash_Impl >
 {
 public:
-    XMLTransformerActions( XMLTransformerActionInit *pInit );
+    explicit XMLTransformerActions( XMLTransformerActionInit *pInit );
     ~XMLTransformerActions();
 
     void Add( XMLTransformerActionInit *pInit );
diff --git a/xmloff/source/transform/TransformerTokenMap.hxx b/xmloff/source/transform/TransformerTokenMap.hxx
index 30914f7..c9dc03f 100644
--- a/xmloff/source/transform/TransformerTokenMap.hxx
+++ b/xmloff/source/transform/TransformerTokenMap.hxx
@@ -29,7 +29,7 @@ class XMLTransformerTokenMap :
                                    OUStringHash >
 {
 public:
-    XMLTransformerTokenMap( ::xmloff::token::XMLTokenEnum *pInit );
+    explicit XMLTransformerTokenMap( ::xmloff::token::XMLTokenEnum *pInit );
     ~XMLTransformerTokenMap();
 };
 


More information about the Libreoffice-commits mailing list