diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-07 15:13:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-07 18:19:57 +0200 |
commit | af1e773c19db58de55939355bf0069e35d2a7789 (patch) | |
tree | ad3b66951df8458a16c1fccb2254ca7556917f9e /xmloff | |
parent | f446ebf4ad419c114cae903a04159ccf78755faa (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.cxx | 5 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLParagraphContext.hxx | 3 |
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; |