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
AgileEncryptionInfo& mInfo;
public:
AgileDocumentHandler(AgileEncryptionInfo& rInfo) :
explicit AgileDocumentHandler(AgileEncryptionInfo& rInfo) :
mInfo(rInfo)
{}
......
......@@ -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)
{
}
......
......@@ -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)
{}
......
......@@ -38,7 +38,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1<
XPropertySetInfo >
{
public:
lcl_ColorPropertySetInfo( bool bFillColor );
explicit lcl_ColorPropertySetInfo( bool bFillColor );
protected:
// ____ XPropertySetInfo ____
......
......@@ -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 )
......
......@@ -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( );
......
......@@ -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;
......
......@@ -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;
......
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