diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-14 09:02:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-14 08:47:48 +0000 |
commit | 0ea50b5b43a934f2ab080f50585e386ebce0b805 (patch) | |
tree | 44ab55a29143ba8427c9caad43449869a4709679 /include | |
parent | 20a9e101d909cb1953101e5962b74731e1265400 (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 'include')
-rw-r--r-- | include/xmloff/XMLShapeStyleContext.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/numehelp.hxx | 6 | ||||
-rw-r--r-- | include/xmloff/prstylei.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlexp.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/xmlexppr.hxx | 6 |
5 files changed, 10 insertions, 10 deletions
diff --git a/include/xmloff/XMLShapeStyleContext.hxx b/include/xmloff/XMLShapeStyleContext.hxx index 1c5aa010acf5..690753784409 100644 --- a/include/xmloff/XMLShapeStyleContext.hxx +++ b/include/xmloff/XMLShapeStyleContext.hxx @@ -49,7 +49,7 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, SvXMLStylesContext& rStyles, - sal_uInt16 nFamily = XML_STYLE_FAMILY_SD_GRAPHICS_ID); + sal_uInt16 nFamily); virtual ~XMLShapeStyleContext() override; SvXMLImportContext * CreateChildContext( diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx index 077ea02a6dba..97bec3f9bf85 100644 --- a/include/xmloff/numehelp.hxx +++ b/include/xmloff/numehelp.hxx @@ -83,7 +83,7 @@ public: const sal_Int16 nTypeKey, const double& rValue, const OUString& rCurrencySymbol, - bool bExportValue = true); + bool bExportValue); static bool GetCurrencySymbol(const sal_Int32 nNumberFormat, OUString& rCurrencySymbol, css::uno::Reference< css::util::XNumberFormatsSupplier > & xNumberFormatsSupplier); static sal_Int16 GetCellType(const sal_Int32 nNumberFormat, bool& bIsStandard, @@ -95,7 +95,7 @@ public: static void SetNumberFormatAttributes(SvXMLExport& rXMLExport, const OUString& rValue, const OUString& rCharacters, - bool bExportValue = true, + bool bExportValue, bool bExportTypeAttribute = true); bool GetCurrencySymbol(const sal_Int32 nNumberFormat, OUString& rCurrencySymbol); @@ -103,7 +103,7 @@ public: void WriteAttributes(const sal_Int16 nTypeKey, const double& rValue, const OUString& rCurrencySymbol, - bool bExportValue = true, sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE); + bool bExportValue, sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE); void SetNumberFormatAttributes(const sal_Int32 nNumberFormat, const double& rValue, bool bExportValue = true, diff --git a/include/xmloff/prstylei.hxx b/include/xmloff/prstylei.hxx index c60c0f35d6de..95a73574960c 100644 --- a/include/xmloff/prstylei.hxx +++ b/include/xmloff/prstylei.hxx @@ -94,7 +94,7 @@ public: XMLPropStyleContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, - SvXMLStylesContext& rStyles, sal_uInt16 nFamily = 0, + SvXMLStylesContext& rStyles, sal_uInt16 nFamily, bool bDefaultStyle=false ); virtual ~XMLPropStyleContext() override; diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index c319789ed6e9..a59ddd3cd202 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -270,8 +270,8 @@ public: sal_Int16 const eDefaultMeasureUnit /*css::util::MeasureUnit*/, const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, - const enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID, - SvXMLExportFlags nExportFlag = SvXMLExportFlags::ALL ); + const enum ::xmloff::token::XMLTokenEnum eClass, + SvXMLExportFlags nExportFlag ); SvXMLExport( const css::uno::Reference< css::uno::XComponentContext >& xContext, diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx index b77282c50a13..d80d7c8e9ae8 100644 --- a/include/xmloff/xmlexppr.hxx +++ b/include/xmloff/xmlexppr.hxx @@ -89,7 +89,7 @@ protected: const SvXMLNamespaceMap& rNamespaceMap, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, - sal_uInt32 nIdx = 0 ) const; + sal_uInt32 nIdx ) const; void exportElementItems( SvXMLExport& rExport, @@ -154,7 +154,7 @@ public: const XMLPropertyState& rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, - sal_uInt32 nIdx = 0 ) const; + sal_uInt32 nIdx ) const; /** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set */ @@ -164,7 +164,7 @@ public: const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, - sal_uInt32 nIdx = 0 ) const; + sal_uInt32 nIdx ) const; const rtl::Reference<XMLPropertySetMapper>& getPropertySetMapper() const; |