summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-14 20:57:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-15 11:11:42 +0100
commit8066c73940a30e97d8634655ea39d73fa8cf3c20 (patch)
tree030b5b52d9d7e67fd21c75f8b49defb4296d3e1e /cui/source/tabpages
parent101b616c7a2ee90b6d09eedd7a7543a63f237c97 (diff)
cppcheck: noExplicitConstructor
Change-Id: I2b5fba9cdd950349a8e8d22bbd7bb6e17f008920
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/autocdlg.cxx2
-rw-r--r--cui/source/tabpages/backgrnd.cxx2
2 files changed, 2 insertions, 2 deletions
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<MetricField> 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;