summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-01 11:44:15 +0100
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-01 18:44:20 +0000
commit8826771e8398063018935c38039c05faf4c993a3 (patch)
treef726abbbc99a3a1c39c726a47f5f121573ab1c8b /sw
parent33bc51a60523f23a860534a39a096fecce192671 (diff)
style fixes for cppcheck noExplicitConstructor
Change-Id: I2a690caea7656f2a18beb6d09f53154178a30f34 Reviewed-on: https://gerrit.libreoffice.org/30460 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlimpit.hxx2
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlimpit.hxx b/sw/source/filter/xml/xmlimpit.hxx
index d0be90e33cf2..91bbfaab18f6 100644
--- a/sw/source/filter/xml/xmlimpit.hxx
+++ b/sw/source/filter/xml/xmlimpit.hxx
@@ -38,7 +38,7 @@ protected:
sal_uInt16 nUnknownWhich;
public:
- SvXMLImportItemMapper( SvXMLItemMapEntriesRef const & rMapEntries );
+ explicit SvXMLImportItemMapper( SvXMLItemMapEntriesRef const & rMapEntries );
virtual ~SvXMLImportItemMapper();
/** fills the given itemset with the attributes in the given list */
diff --git a/sw/source/uibase/sidebar/PageMarginControl.hxx b/sw/source/uibase/sidebar/PageMarginControl.hxx
index 050495db0706..6482097fc45b 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.hxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.hxx
@@ -44,7 +44,7 @@ namespace sw { namespace sidebar {
class PageMarginControl : public SfxPopupWindow
{
public:
- PageMarginControl( sal_uInt16 nId );
+ explicit PageMarginControl( sal_uInt16 nId );
virtual ~PageMarginControl() override;
virtual void dispose() override;