cppcheck: noExplicitConstructor

Change-Id: Ic6407a57440fbd887f9ec9d5963e5748aa89a29e
This commit is contained in:
Caolán McNamara
2016-01-02 20:24:38 +00:00
parent dfb73ede13
commit f61d3bc92c
5 changed files with 10 additions and 8 deletions

View File

@@ -276,7 +276,7 @@ public:
class DummyLine3D : public DummyXShape class DummyLine3D : public DummyXShape
{ {
public: public:
DummyLine3D(const VLineProperties& rProperties); explicit DummyLine3D(const VLineProperties& rProperties);
}; };
class DummyLine2D : public DummyXShape class DummyLine2D : public DummyXShape

View File

@@ -247,8 +247,8 @@ class UnaryFunctionFunctor
public: public:
UnaryFunctionFunctor( const ParserContextSharedPtr& rContext ) : explicit UnaryFunctionFunctor(const ParserContextSharedPtr& rContext)
mpContext( rContext ) : mpContext(rContext)
{ {
} }
void operator()( StringIteratorT, StringIteratorT ) const void operator()( StringIteratorT, StringIteratorT ) const

View File

@@ -166,7 +166,7 @@ struct SvxGeneralTabPage::Row
unsigned nFirstField, nLastField; unsigned nFirstField, nLastField;
public: public:
Row (FixedText *pLabel_) explicit Row (FixedText *pLabel_)
: pLabel(pLabel_) : pLabel(pLabel_)
, nFirstField(0) , nFirstField(0)
, nLastField(0) , nLastField(0)

View File

@@ -65,9 +65,11 @@ struct DataSupplier_Impl
rtl::Reference< ODocumentContainer > m_xContent; rtl::Reference< ODocumentContainer > m_xContent;
bool m_bCountFinal; bool m_bCountFinal;
DataSupplier_Impl( const rtl::Reference< ODocumentContainer >& rContent ) explicit DataSupplier_Impl(const rtl::Reference< ODocumentContainer >& rContent)
: m_xContent(rContent) : m_xContent(rContent)
, m_bCountFinal( false ) {} , m_bCountFinal(false)
{
}
~DataSupplier_Impl(); ~DataSupplier_Impl();
}; };

View File

@@ -34,7 +34,7 @@ class DataSupplier : public ucbhelper::ResultSetDataSupplier
::std::unique_ptr<DataSupplier_Impl> m_pImpl; ::std::unique_ptr<DataSupplier_Impl> m_pImpl;
public: public:
DataSupplier( const rtl::Reference< ODocumentContainer >& rxContent ); explicit DataSupplier( const rtl::Reference< ODocumentContainer >& rxContent );
virtual ~DataSupplier(); virtual ~DataSupplier();
virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) override; virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) override;