summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlbahdl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlbahdl.hxx')
-rw-r--r--xmloff/source/style/xmlbahdl.hxx3
1 files changed, 2 insertions, 1 deletions
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;