diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-17 09:08:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-17 12:24:55 +0000 |
commit | f1aca4db8bd82e8beefeccc8e12c752f686133ee (patch) | |
tree | 49377394eef82adb43b88a287871eb932726d217 | |
parent | d4b48e0de7f817c0d4607382724778acf191f9f8 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id506e26ab4986a3972ebf24397c5c0c8d131fe69
-rw-r--r-- | sfx2/source/view/classificationcontroller.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/classificationhelper.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/crashreportdlg.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/crashreportui.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx index 788eddfdb000..523e4e0b57c7 100644 --- a/sfx2/source/view/classificationcontroller.cxx +++ b/sfx2/source/view/classificationcontroller.cxx @@ -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 diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx index fc1d236d54b1..5e4567a631b4 100644 --- a/sfx2/source/view/classificationhelper.cxx +++ b/sfx2/source/view/classificationhelper.cxx @@ -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(); diff --git a/svx/source/dialog/crashreportdlg.hxx b/svx/source/dialog/crashreportdlg.hxx index a7f22e2fdcda..d1304a1063e4 100644 --- a/svx/source/dialog/crashreportdlg.hxx +++ b/svx/source/dialog/crashreportdlg.hxx @@ -17,7 +17,7 @@ class CrashReportDialog : public Dialog { public: - CrashReportDialog(vcl::Window* pParent); + explicit CrashReportDialog(vcl::Window* pParent); virtual ~CrashReportDialog(); diff --git a/svx/source/dialog/crashreportui.cxx b/svx/source/dialog/crashreportui.cxx index d3387052aba2..eaa6a8e3b4d6 100644 --- a/svx/source/dialog/crashreportui.cxx +++ b/svx/source/dialog/crashreportui.cxx @@ -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 |