summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 09:02:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 08:47:48 +0000
commit0ea50b5b43a934f2ab080f50585e386ebce0b805 (patch)
tree44ab55a29143ba8427c9caad43449869a4709679 /xmloff/source/style
parent20a9e101d909cb1953101e5962b74731e1265400 (diff)
loplugin:countusersofdefaultparams in xmloff
Change-Id: Ia92a878ac97b3cc668594946e77a718f27a3e3ed Reviewed-on: https://gerrit.libreoffice.org/28890 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/PageMasterExportPropMapper.hxx4
-rw-r--r--xmloff/source/style/impastpl.hxx2
-rw-r--r--xmloff/source/style/xmlbahdl.hxx12
3 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/style/PageMasterExportPropMapper.hxx b/xmloff/source/style/PageMasterExportPropMapper.hxx
index 0e8a792806bb..21739c866b83 100644
--- a/xmloff/source/style/PageMasterExportPropMapper.hxx
+++ b/xmloff/source/style/PageMasterExportPropMapper.hxx
@@ -50,7 +50,7 @@ public:
const XMLPropertyState& rProperty,
SvXmlExportFlags nFlags,
const ::std::vector< XMLPropertyState >* pProperties,
- sal_uInt32 nIdx = 0
+ sal_uInt32 nIdx
) const override;
virtual void handleSpecialItem(
SvXMLAttributeList& rAttrList,
@@ -58,7 +58,7 @@ public:
const SvXMLUnitConverter& rUnitConverter,
const SvXMLNamespaceMap& rNamespaceMap,
const ::std::vector< XMLPropertyState >* pProperties,
- sal_uInt32 nIdx = 0
+ sal_uInt32 nIdx
) const override;
};
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index 992c188a69e9..c70c4da4d78f 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -118,7 +118,7 @@ struct XMLAutoStyleFamily
XMLAutoStyleFamily( sal_Int32 nFamily, const OUString& rStrName,
const rtl::Reference<SvXMLExportPropertyMapper>& rMapper,
- const OUString& rStrPrefix, bool bAsFamily = true );
+ const OUString& rStrPrefix, bool bAsFamily );
explicit XMLAutoStyleFamily( sal_Int32 nFamily );
~XMLAutoStyleFamily();
diff --git a/xmloff/source/style/xmlbahdl.hxx b/xmloff/source/style/xmlbahdl.hxx
index 3bb213b7fe37..4dad377b9d8f 100644
--- a/xmloff/source/style/xmlbahdl.hxx
+++ b/xmloff/source/style/xmlbahdl.hxx
@@ -33,7 +33,7 @@ class XMLNumberPropHdl : public XMLPropertyHandler
sal_Int8 nBytes;
public:
- explicit XMLNumberPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+ explicit XMLNumberPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLNumberPropHdl() override;
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
@@ -49,7 +49,7 @@ class XMLNumberNonePropHdl : public XMLPropertyHandler
sal_Int8 nBytes;
public:
explicit XMLNumberNonePropHdl( sal_Int8 nB = 4 );
- XMLNumberNonePropHdl( enum ::xmloff::token::XMLTokenEnum eZeroString, sal_Int8 nB = 4 );
+ XMLNumberNonePropHdl( enum ::xmloff::token::XMLTokenEnum eZeroString, sal_Int8 nB );
virtual ~XMLNumberNonePropHdl() override;
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
@@ -63,7 +63,7 @@ class XMLMeasurePropHdl : public XMLPropertyHandler
{
sal_Int8 nBytes;
public:
- explicit XMLMeasurePropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+ explicit XMLMeasurePropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLMeasurePropHdl() override;
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
@@ -77,7 +77,7 @@ class XMLPercentPropHdl : public XMLPropertyHandler
{
sal_Int8 nBytes;
public:
- explicit XMLPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+ explicit XMLPercentPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLPercentPropHdl() override;
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
@@ -101,7 +101,7 @@ class XMLNegPercentPropHdl : public XMLPropertyHandler
{
sal_Int8 nBytes;
public:
- explicit XMLNegPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+ explicit XMLNegPercentPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLNegPercentPropHdl() override;
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
@@ -115,7 +115,7 @@ class XMLMeasurePxPropHdl : public XMLPropertyHandler
{
sal_Int8 nBytes;
public:
- explicit XMLMeasurePxPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+ explicit XMLMeasurePxPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLMeasurePxPropHdl() override;
virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;