summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-07 15:13:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-07 18:19:57 +0200
commitaf1e773c19db58de55939355bf0069e35d2a7789 (patch)
treead3b66951df8458a16c1fccb2254ca7556917f9e /xmloff
parentf446ebf4ad419c114cae903a04159ccf78755faa (diff)
loplugin:constantparam
Change-Id: I83722d99fa0d5919a7e878d32311dbb6de1c6714 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102175 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLParagraphContext.cxx5
-rw-r--r--xmloff/source/chart/SchXMLParagraphContext.hxx3
2 files changed, 3 insertions, 5 deletions
diff --git a/xmloff/source/chart/SchXMLParagraphContext.cxx b/xmloff/source/chart/SchXMLParagraphContext.cxx
index f46d45cc5eb9..fc0d0df12316 100644
--- a/xmloff/source/chart/SchXMLParagraphContext.cxx
+++ b/xmloff/source/chart/SchXMLParagraphContext.cxx
@@ -42,11 +42,10 @@ SchXMLParagraphContext::SchXMLParagraphContext( SvXMLImport& rImport,
}
SchXMLParagraphContext::SchXMLParagraphContext( SvXMLImport& rImport,
- OUString& rText,
- OUString * pOutId /* = 0 */ ) :
+ OUString& rText ) :
SvXMLImportContext( rImport ),
mrText( rText ),
- mpId( pOutId )
+ mpId( nullptr )
{
}
diff --git a/xmloff/source/chart/SchXMLParagraphContext.hxx b/xmloff/source/chart/SchXMLParagraphContext.hxx
index 3f2b4d25708a..a76eceba2bc2 100644
--- a/xmloff/source/chart/SchXMLParagraphContext.hxx
+++ b/xmloff/source/chart/SchXMLParagraphContext.hxx
@@ -40,8 +40,7 @@ public:
OUString& rText,
OUString * pOutId = nullptr );
SchXMLParagraphContext( SvXMLImport& rImport,
- OUString& rText,
- OUString * pOutId = nullptr );
+ OUString& rText );
virtual ~SchXMLParagraphContext() override;
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;