diff options
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; |