diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-18 07:42:39 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-18 07:47:21 +0200 |
commit | 5f2f57ea644dc116c131dcc82ffb434da94c344b (patch) | |
tree | 618fe60a87b0f91a5b6a2cce68d3a54f5efadf88 | |
parent | b6744874cb7fc0e85996e093a56fe89b83d31e2c (diff) |
oox: these ctors can be explicit
Change-Id: Ie53422eb4684bc3d720c8922d4764b807df4c8f3
-rw-r--r-- | oox/source/crypto/DocumentDecryption.cxx | 2 | ||||
-rw-r--r-- | oox/source/drawingml/clrscheme.cxx | 2 | ||||
-rw-r--r-- | oox/source/drawingml/diagram/diagramlayoutatoms.cxx | 2 | ||||
-rw-r--r-- | oox/source/export/ColorPropertySet.cxx | 2 | ||||
-rw-r--r-- | oox/source/mathml/importutils.cxx | 2 | ||||
-rw-r--r-- | oox/source/ppt/buildlistcontext.hxx | 2 | ||||
-rw-r--r-- | oox/source/shape/LockedCanvasContext.hxx | 2 | ||||
-rw-r--r-- | oox/source/shape/WpgContext.hxx | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx index a612dcb5e19a..d582c7ddf63b 100644 --- a/oox/source/crypto/DocumentDecryption.cxx +++ b/oox/source/crypto/DocumentDecryption.cxx @@ -63,7 +63,7 @@ class AgileDocumentHandler : public ::cppu::WeakImplHelper1< XFastDocumentHandle AgileEncryptionInfo& mInfo; public: - AgileDocumentHandler(AgileEncryptionInfo& rInfo) : + explicit AgileDocumentHandler(AgileEncryptionInfo& rInfo) : mInfo(rInfo) {} diff --git a/oox/source/drawingml/clrscheme.cxx b/oox/source/drawingml/clrscheme.cxx index 9fb838224a8a..176fd82d71c9 100644 --- a/oox/source/drawingml/clrscheme.cxx +++ b/oox/source/drawingml/clrscheme.cxx @@ -45,7 +45,7 @@ void ClrMap::setColorMap( sal_Int32 nClrToken, sal_Int32 nMappedClrToken ) struct find_by_token { - find_by_token(sal_Int32 token): + explicit find_by_token(sal_Int32 token): m_token(token) { } diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx index c1939a9a15bb..8edffb9dd2aa 100644 --- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx +++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx @@ -571,7 +571,7 @@ class ShallowPresNameVisitor : public LayoutAtomVisitor virtual void visit(LayoutNode& rAtom) SAL_OVERRIDE; public: - ShallowPresNameVisitor(const Diagram& rDgm) : + explicit ShallowPresNameVisitor(const Diagram& rDgm) : mrDgm(rDgm), mnCnt(0) {} diff --git a/oox/source/export/ColorPropertySet.cxx b/oox/source/export/ColorPropertySet.cxx index ae7df6e64b9d..aa32446cfc84 100644 --- a/oox/source/export/ColorPropertySet.cxx +++ b/oox/source/export/ColorPropertySet.cxx @@ -38,7 +38,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1< XPropertySetInfo > { public: - lcl_ColorPropertySetInfo( bool bFillColor ); + explicit lcl_ColorPropertySetInfo( bool bFillColor ); protected: // ____ XPropertySetInfo ____ diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx index 8fe96b772ed2..a759c3f0ed95 100644 --- a/oox/source/mathml/importutils.cxx +++ b/oox/source/mathml/importutils.cxx @@ -36,7 +36,7 @@ class AttributeListBuilder : public XmlStream::AttributeList { public: - AttributeListBuilder( const uno::Reference< xml::sax::XFastAttributeList >& a ); + explicit AttributeListBuilder( const uno::Reference< xml::sax::XFastAttributeList >& a ); }; AttributeListBuilder::AttributeListBuilder( const uno::Reference< xml::sax::XFastAttributeList >& a ) diff --git a/oox/source/ppt/buildlistcontext.hxx b/oox/source/ppt/buildlistcontext.hxx index 19bee7666482..a5a46bbd78a4 100644 --- a/oox/source/ppt/buildlistcontext.hxx +++ b/oox/source/ppt/buildlistcontext.hxx @@ -29,7 +29,7 @@ namespace oox { namespace ppt { : public ::oox::core::FragmentHandler2 { public: - BuildListContext( ::oox::core::FragmentHandler2& rParent ); + explicit BuildListContext( ::oox::core::FragmentHandler2& rParent ); virtual ~BuildListContext( ); diff --git a/oox/source/shape/LockedCanvasContext.hxx b/oox/source/shape/LockedCanvasContext.hxx index f97653f05766..ca1599d0078b 100644 --- a/oox/source/shape/LockedCanvasContext.hxx +++ b/oox/source/shape/LockedCanvasContext.hxx @@ -22,7 +22,7 @@ namespace shape class LockedCanvasContext : public oox::core::ContextHandler2 { public: - LockedCanvasContext(oox::core::ContextHandler2Helper& rParent); + explicit LockedCanvasContext(oox::core::ContextHandler2Helper& rParent); virtual ~LockedCanvasContext(); virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList& rAttribs) SAL_OVERRIDE; diff --git a/oox/source/shape/WpgContext.hxx b/oox/source/shape/WpgContext.hxx index f4fc9c5c868c..f57eff1415ee 100644 --- a/oox/source/shape/WpgContext.hxx +++ b/oox/source/shape/WpgContext.hxx @@ -22,7 +22,7 @@ namespace shape class WpgContext : public oox::core::ContextHandler2 { public: - WpgContext(oox::core::ContextHandler2Helper& rParent); + explicit WpgContext(oox::core::ContextHandler2Helper& rParent); virtual ~WpgContext(); virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE; |