diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 10:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 12:31:35 +0100 |
commit | 665d085511a64959ceafd869e6331877ed711c80 (patch) | |
tree | 06f341e6bb2d4d7d643b7dda2a130b670e534491 /xmloff | |
parent | 793b69fe73eb2d6ae4c42f04a66df8c180e42886 (diff) |
loplugin:countusersofdefaultparams in sw (1)
Change-Id: I0d14f9c375f93079aef21ca4f1132adc4e1fe06c
Reviewed-on: https://gerrit.libreoffice.org/45207
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/formattributes.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlbahdl.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx index 4c0fd167904a..e16e3abc37ce 100644 --- a/xmloff/source/forms/formattributes.hxx +++ b/xmloff/source/forms/formattributes.hxx @@ -377,7 +377,7 @@ namespace xmloff void addEnumPropertyImpl( const sal_Char* _pAttributeName, const OUString& _rPropertyName, const SvXMLEnumMapEntry<sal_uInt16>* _pValueMap, - const css::uno::Type* _pType = nullptr); + const css::uno::Type* _pType); /// some common code for the various add*Property methods AttributeAssignment& implAdd( const sal_Char* _pAttributeName, const OUString& _rPropertyName, diff --git a/xmloff/source/style/xmlbahdl.hxx b/xmloff/source/style/xmlbahdl.hxx index 4dad377b9d8f..a0e3aa751d28 100644 --- a/xmloff/source/style/xmlbahdl.hxx +++ b/xmloff/source/style/xmlbahdl.hxx @@ -297,7 +297,7 @@ class XMLNumberWithoutZeroPropHdl : public XMLPropertyHandler { sal_Int8 nBytes; public: - explicit XMLNumberWithoutZeroPropHdl( sal_Int8 nB = 4 ); + explicit XMLNumberWithoutZeroPropHdl( sal_Int8 nB ); virtual ~XMLNumberWithoutZeroPropHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; @@ -312,6 +312,7 @@ public: class XMLNumberWithAutoInsteadZeroPropHdl : public XMLNumberWithoutZeroPropHdl { public: + explicit XMLNumberWithAutoInsteadZeroPropHdl() : XMLNumberWithoutZeroPropHdl(4) {} virtual ~XMLNumberWithAutoInsteadZeroPropHdl() override; virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; |