cppcheck: noExplicitConstructor

Change-Id: Id506e26ab4986a3972ebf24397c5c0c8d131fe69
This commit is contained in:
Caolán McNamara
2016-03-17 09:08:42 +00:00
parent d4b48e0de7
commit f1aca4db8b
4 changed files with 4 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ class ClassificationCategoriesController : public ClassificationCategoriesContro
DECL_LINK_TYPED(SelectHdl, ListBox&, void);
public:
ClassificationCategoriesController(const uno::Reference<uno::XComponentContext>& rContext);
explicit ClassificationCategoriesController(const uno::Reference<uno::XComponentContext>& rContext);
virtual ~ClassificationCategoriesController();
// XServiceInfo

View File

@@ -324,7 +324,7 @@ public:
std::vector<SfxClassificationCategory> m_aCategories;
const uno::Reference<document::XDocumentProperties>& m_xDocumentProperties;
Impl(const uno::Reference<document::XDocumentProperties>& xDocumentProperties);
explicit Impl(const uno::Reference<document::XDocumentProperties>& xDocumentProperties);
void parsePolicy();
/// Synchronize m_aLabels back to the document properties.
void pushToDocumentProperties();

View File

@@ -17,7 +17,7 @@ class CrashReportDialog : public Dialog
{
public:
CrashReportDialog(vcl::Window* pParent);
explicit CrashReportDialog(vcl::Window* pParent);
virtual ~CrashReportDialog();

View File

@@ -24,7 +24,7 @@ class CrashReportUI : public ::cppu::WeakImplHelper< css::lang::XServiceInfo
css::frame::XSynchronousDispatch > // => XDispatch!
{
public:
CrashReportUI(const css::uno::Reference< css::uno::XComponentContext >& xContext);
explicit CrashReportUI(const css::uno::Reference< css::uno::XComponentContext >& xContext);
virtual ~CrashReportUI();
// css.lang.XServiceInfo