cppcheck: noExplicitConstructor
Change-Id: Ic6407a57440fbd887f9ec9d5963e5748aa89a29e
This commit is contained in:
@@ -276,7 +276,7 @@ public:
|
||||
class DummyLine3D : public DummyXShape
|
||||
{
|
||||
public:
|
||||
DummyLine3D(const VLineProperties& rProperties);
|
||||
explicit DummyLine3D(const VLineProperties& rProperties);
|
||||
};
|
||||
|
||||
class DummyLine2D : public DummyXShape
|
||||
|
@@ -247,8 +247,8 @@ class UnaryFunctionFunctor
|
||||
|
||||
public:
|
||||
|
||||
UnaryFunctionFunctor( const ParserContextSharedPtr& rContext ) :
|
||||
mpContext( rContext )
|
||||
explicit UnaryFunctionFunctor(const ParserContextSharedPtr& rContext)
|
||||
: mpContext(rContext)
|
||||
{
|
||||
}
|
||||
void operator()( StringIteratorT, StringIteratorT ) const
|
||||
|
@@ -166,7 +166,7 @@ struct SvxGeneralTabPage::Row
|
||||
unsigned nFirstField, nLastField;
|
||||
|
||||
public:
|
||||
Row (FixedText *pLabel_)
|
||||
explicit Row (FixedText *pLabel_)
|
||||
: pLabel(pLabel_)
|
||||
, nFirstField(0)
|
||||
, nLastField(0)
|
||||
|
@@ -65,9 +65,11 @@ struct DataSupplier_Impl
|
||||
rtl::Reference< ODocumentContainer > m_xContent;
|
||||
bool m_bCountFinal;
|
||||
|
||||
DataSupplier_Impl( const rtl::Reference< ODocumentContainer >& rContent )
|
||||
explicit DataSupplier_Impl(const rtl::Reference< ODocumentContainer >& rContent)
|
||||
: m_xContent(rContent)
|
||||
, m_bCountFinal( false ) {}
|
||||
, m_bCountFinal(false)
|
||||
{
|
||||
}
|
||||
~DataSupplier_Impl();
|
||||
};
|
||||
|
||||
|
@@ -34,7 +34,7 @@ class DataSupplier : public ucbhelper::ResultSetDataSupplier
|
||||
::std::unique_ptr<DataSupplier_Impl> m_pImpl;
|
||||
|
||||
public:
|
||||
DataSupplier( const rtl::Reference< ODocumentContainer >& rxContent );
|
||||
explicit DataSupplier( const rtl::Reference< ODocumentContainer >& rxContent );
|
||||
virtual ~DataSupplier();
|
||||
|
||||
virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) override;
|
||||
|
Reference in New Issue
Block a user