summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-24 20:45:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-24 20:58:24 +0100
commite50698c0ce5fd757d02f68dc5b8dd7ef2bd0cbbf (patch)
treeb189fe1de009f00ebe168881b4d77f467c547195 /xmloff
parentcd6ee5de8ef7345ba219f0d50e9e1ee45332e55f (diff)
cppcheck: noExplicitConstructor
Change-Id: I8c9e970d5c5931de1a7526cbff3de626ef30bd74
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/ColorPropertySet.cxx2
-rw-r--r--xmloff/source/chart/MultiPropertySetHandler.hxx4
-rw-r--r--xmloff/source/chart/SchXMLAutoStylePoolP.hxx2
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.hxx4
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx2
-rw-r--r--xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx2
-rw-r--r--xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx2
-rw-r--r--xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx2
-rw-r--r--xmloff/source/chart/transporttypes.hxx2
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx2
-rw-r--r--xmloff/source/core/DomExport.cxx2
-rw-r--r--xmloff/source/core/RDFaImportHelper.cxx2
-rw-r--r--xmloff/source/core/xmlexp.cxx4
-rw-r--r--xmloff/source/core/xmlimp.cxx4
-rw-r--r--xmloff/source/core/xmltkmap.cxx2
-rw-r--r--xmloff/source/draw/XMLGraphicsDefaultStyle.cxx2
-rw-r--r--xmloff/source/draw/animationimport.cxx4
-rw-r--r--xmloff/source/draw/numithdl.hxx2
-rw-r--r--xmloff/source/draw/propimp0.hxx4
-rw-r--r--xmloff/source/draw/sdpropls.cxx2
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
-rw-r--r--xmloff/source/draw/xexptran.cxx28
-rw-r--r--xmloff/source/draw/ximppage.cxx2
-rw-r--r--xmloff/source/draw/ximpshow.cxx2
-rw-r--r--xmloff/source/forms/controlpropertymap.hxx2
-rw-r--r--xmloff/source/forms/elementimport.cxx4
-rw-r--r--xmloff/source/forms/eventexport.hxx2
-rw-r--r--xmloff/source/forms/formcellbinding.cxx2
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.cxx2
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.hxx2
-rw-r--r--xmloff/source/forms/layerexport.hxx2
-rw-r--r--xmloff/source/forms/layerimport.hxx2
-rw-r--r--xmloff/source/forms/officeforms.hxx2
-rw-r--r--xmloff/source/style/PageMasterPropHdl.hxx2
-rw-r--r--xmloff/source/style/PageMasterPropMapper.hxx2
-rw-r--r--xmloff/source/style/XMLFootnoteSeparatorExport.hxx2
-rw-r--r--xmloff/source/style/impastpl.hxx6
-rw-r--r--xmloff/source/style/xmlbahdl.hxx16
-rw-r--r--xmloff/source/style/xmlprmap.cxx2
-rw-r--r--xmloff/source/style/xmlstyle.cxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.hxx2
-rw-r--r--xmloff/source/text/XMLIndexMarkExport.hxx2
-rw-r--r--xmloff/source/text/XMLLineNumberingExport.hxx2
-rw-r--r--xmloff/source/text/XMLPropertyBackpatcher.hxx2
-rw-r--r--xmloff/source/text/XMLTextListAutoStylePool.cxx4
-rw-r--r--xmloff/source/text/txtdrope.hxx2
-rw-r--r--xmloff/source/text/txtparae.cxx2
-rw-r--r--xmloff/source/text/txtprhdl.cxx4
-rw-r--r--xmloff/source/transform/EventOASISTContext.cxx2
-rw-r--r--xmloff/source/transform/TransformerActions.hxx2
-rw-r--r--xmloff/source/transform/TransformerTokenMap.hxx2
51 files changed, 82 insertions, 82 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx
index 695351d1ac22..b8ff05c7e8d2 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 0991e675c25f..34252b5c3736 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 512fd696ad03..ad8916852a3a 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 3ba899091b7f..6f3fad5328c8 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 df2a6d726a1e..d129944c297c 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 b7dd5574ec6f..29175b669dd2 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 2ff296d258de..a5e65185c7a0 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 59fbf06d5ed2..48a7cfecaa08 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 15831c02a480..cea1ece5cdff 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 f5e7bf737642..8dc14efc0d63 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 b66fb47023b6..ec55a174adc1 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 0cf3061586d0..fe4a435d20d2 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 fe100a0dec22..405a660ccb94 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 339e5ddb4b34..272505b0c06c 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 fe527c7737fe..da04fd2cdce7 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 3473e5784515..e300a2c1fd85 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 1a3f2bdd890b..62c7a38b56e0 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 e5ef34f8aea7..bc77ff64f411 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 1a748b2a5311..43fd8f1e0339 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 009c2ec67c16..45920d967ea9 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 96dfd640fb20..d4aee6c535d3 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 6d9f3422372f..8d0e7b55c1fc 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 d60ed0f6de40..3be50c614ebe 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 2cc993478da0..3e154ec507bf 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 bd9d258c612d..0ec8bdc28393 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 3c03e0bc3ad0..737f7e002ca2 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 29a2b66bec88..e1927d37cd1f 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 61797c861a0e..bbd610dc3bf2 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 aebb2c578124..d557fc64b81a 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 77077560d145..5ee7db5e871f 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 5f8a3b319547..a00fad953641 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 5c4cb6782658..3cbcb796daf4 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 8a32a6d1c659..a7562c99696f 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 441cc58f0eb8..5140e38b1c39 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 8a3814ba77b1..27b6d9c53832 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 539d4221d034..15623aae516e 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 dda0e92e8a01..3e5670c8ed94 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 b3bbdf518385..6d0423f56dce 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 046fd3de8862..c340d2cef54b 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 341737c9b5a6..2e2dcdbff01f 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 29a3d25d778d..6b8c874792b9 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 5bb2521533bb..b4060212ed1e 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 ffc383d8e47f..5236f14a03d6 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 d87c75e522f2..b1bcb00d98b7 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 fd976361e866..66fd2231fffd 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 e9c26bbe7db3..10cdcbf7afc4 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 46a19e8a700f..226d7e04a48e 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 0cc3464bf359..f081619e0858 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 03213bebbcd7..1ba446f2ab39 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 f1950ec138f7..79b5961e294c 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 30914f7dcf12..c9dc03f9b764 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();
};