[Libreoffice-commits] core.git: sfx2/source svx/source
Caolán McNamara
caolanm at redhat.com
Thu Mar 17 12:25:23 UTC 2016
sfx2/source/view/classificationcontroller.cxx | 2 +-
sfx2/source/view/classificationhelper.cxx | 2 +-
svx/source/dialog/crashreportdlg.hxx | 2 +-
svx/source/dialog/crashreportui.cxx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f1aca4db8bd82e8beefeccc8e12c752f686133ee
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Mar 17 09:08:42 2016 +0000
cppcheck: noExplicitConstructor
Change-Id: Id506e26ab4986a3972ebf24397c5c0c8d131fe69
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx
index 788eddf..523e4e0 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 fc1d236..5e4567a 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 a7f22e2..d1304a1 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 d338705..eaa6a8e 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
More information about the Libreoffice-commits
mailing list