Kaydet (Commit) 5f2f57ea authored tarafından Miklos Vajna's avatar Miklos Vajna

oox: these ctors can be explicit

Change-Id: Ie53422eb4684bc3d720c8922d4764b807df4c8f3
üst b6744874
...@@ -63,7 +63,7 @@ class AgileDocumentHandler : public ::cppu::WeakImplHelper1< XFastDocumentHandle ...@@ -63,7 +63,7 @@ class AgileDocumentHandler : public ::cppu::WeakImplHelper1< XFastDocumentHandle
AgileEncryptionInfo& mInfo; AgileEncryptionInfo& mInfo;
public: public:
AgileDocumentHandler(AgileEncryptionInfo& rInfo) : explicit AgileDocumentHandler(AgileEncryptionInfo& rInfo) :
mInfo(rInfo) mInfo(rInfo)
{} {}
......
...@@ -45,7 +45,7 @@ void ClrMap::setColorMap( sal_Int32 nClrToken, sal_Int32 nMappedClrToken ) ...@@ -45,7 +45,7 @@ void ClrMap::setColorMap( sal_Int32 nClrToken, sal_Int32 nMappedClrToken )
struct find_by_token struct find_by_token
{ {
find_by_token(sal_Int32 token): explicit find_by_token(sal_Int32 token):
m_token(token) m_token(token)
{ {
} }
......
...@@ -571,7 +571,7 @@ class ShallowPresNameVisitor : public LayoutAtomVisitor ...@@ -571,7 +571,7 @@ class ShallowPresNameVisitor : public LayoutAtomVisitor
virtual void visit(LayoutNode& rAtom) SAL_OVERRIDE; virtual void visit(LayoutNode& rAtom) SAL_OVERRIDE;
public: public:
ShallowPresNameVisitor(const Diagram& rDgm) : explicit ShallowPresNameVisitor(const Diagram& rDgm) :
mrDgm(rDgm), mrDgm(rDgm),
mnCnt(0) mnCnt(0)
{} {}
......
...@@ -38,7 +38,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1< ...@@ -38,7 +38,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1<
XPropertySetInfo > XPropertySetInfo >
{ {
public: public:
lcl_ColorPropertySetInfo( bool bFillColor ); explicit lcl_ColorPropertySetInfo( bool bFillColor );
protected: protected:
// ____ XPropertySetInfo ____ // ____ XPropertySetInfo ____
......
...@@ -36,7 +36,7 @@ class AttributeListBuilder ...@@ -36,7 +36,7 @@ class AttributeListBuilder
: public XmlStream::AttributeList : public XmlStream::AttributeList
{ {
public: 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 ) AttributeListBuilder::AttributeListBuilder( const uno::Reference< xml::sax::XFastAttributeList >& a )
......
...@@ -29,7 +29,7 @@ namespace oox { namespace ppt { ...@@ -29,7 +29,7 @@ namespace oox { namespace ppt {
: public ::oox::core::FragmentHandler2 : public ::oox::core::FragmentHandler2
{ {
public: public:
BuildListContext( ::oox::core::FragmentHandler2& rParent ); explicit BuildListContext( ::oox::core::FragmentHandler2& rParent );
virtual ~BuildListContext( ); virtual ~BuildListContext( );
......
...@@ -22,7 +22,7 @@ namespace shape ...@@ -22,7 +22,7 @@ namespace shape
class LockedCanvasContext : public oox::core::ContextHandler2 class LockedCanvasContext : public oox::core::ContextHandler2
{ {
public: public:
LockedCanvasContext(oox::core::ContextHandler2Helper& rParent); explicit LockedCanvasContext(oox::core::ContextHandler2Helper& rParent);
virtual ~LockedCanvasContext(); virtual ~LockedCanvasContext();
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList& rAttribs) SAL_OVERRIDE; virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList& rAttribs) SAL_OVERRIDE;
......
...@@ -22,7 +22,7 @@ namespace shape ...@@ -22,7 +22,7 @@ namespace shape
class WpgContext : public oox::core::ContextHandler2 class WpgContext : public oox::core::ContextHandler2
{ {
public: public:
WpgContext(oox::core::ContextHandler2Helper& rParent); explicit WpgContext(oox::core::ContextHandler2Helper& rParent);
virtual ~WpgContext(); virtual ~WpgContext();
virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE; virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment