From d4d37662b090cb237585156a47cd8e1f1cbe2656 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Oct 2018 15:51:08 +0200 Subject: loplugin:constfields in reportdesign,sal,sax and improve the rewriter so I spend less time fixing formatting Change-Id: Ic2a6e5e31a5a202d2d02a47d77c484a57a5ec514 Reviewed-on: https://gerrit.libreoffice.org/61676 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/sax/fastattribs.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/sax') diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index 029f3a12f780..a0f552226fe6 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -36,9 +36,9 @@ namespace sax_fastparser struct UnknownAttribute { - OUString maNamespaceURL; - OString maName; - OString maValue; + OUString const maNamespaceURL; + OString const maName; + OString const maValue; UnknownAttribute( const OUString& rNamespaceURL, const OString& rName, const OString& value ); UnknownAttribute( const OString& rName, const OString& value ); @@ -204,7 +204,7 @@ private: std::vector< sal_Int32 > maAttributeTokens; UnknownAttributeList maUnknownAttributes; css::uno::Reference< css::xml::sax::XFastTokenHandler > mxTokenHandler; - FastTokenHandlerBase *mpTokenHandler; + FastTokenHandlerBase * const mpTokenHandler; }; } -- cgit