From 8066c73940a30e97d8634655ea39d73fa8cf3c20 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 14 Jun 2015 20:57:16 +0100 Subject: cppcheck: noExplicitConstructor Change-Id: I2b5fba9cdd950349a8e8d22bbd7bb6e17f008920 --- cui/source/tabpages/autocdlg.cxx | 2 +- cui/source/tabpages/backgrnd.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/tabpages') diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index ecd32b8522fa..69f51472da7a 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -307,7 +307,7 @@ class OfaAutoFmtPrcntSet : public ModalDialog { VclPtr m_pPrcntMF; public: - OfaAutoFmtPrcntSet(vcl::Window* pParent) + explicit OfaAutoFmtPrcntSet(vcl::Window* pParent) : ModalDialog(pParent, "PercentDialog","cui/ui/percentdialog.ui") { get(m_pPrcntMF, "margin"); diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 94b68db655c1..8d731f309771 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -149,7 +149,7 @@ sal_uInt16 GetItemId_Impl( ValueSet& rValueSet, const Color& rCol ) class BackgroundPreviewImpl : public vcl::Window { public: - BackgroundPreviewImpl(vcl::Window* pParent); + explicit BackgroundPreviewImpl(vcl::Window* pParent); void setBmp(bool bBmp); virtual ~BackgroundPreviewImpl(); virtual void dispose() SAL_OVERRIDE; -- cgit