summaryrefslogtreecommitdiff
path: root/xmlscript/source/xml_helper/xml_impctx.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-23 16:14:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-24 08:32:37 +0200
commitf08a06052bfe38c2bc0a23bd2c56ff9c1cb5536c (patch)
tree5cd66bffbb0bd630d11d95becd2d3b68939e7769 /xmlscript/source/xml_helper/xml_impctx.cxx
parentcec5271db3563bf393e1afe40bd5a368eeaf0b88 (diff)
loplugin:unusedfields,can-be-const in xmlscript
Change-Id: Ibd733b822bb2eee9de6319b5ea9e4d8dd3641cdc Reviewed-on: https://gerrit.libreoffice.org/57850 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript/source/xml_helper/xml_impctx.cxx')
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index 48b3153228c6..3ebc809d1cfe 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -105,8 +105,8 @@ class DocumentHandlerImpl :
t_OUString2LongMap m_URI2Uid;
sal_Int32 m_uid_count;
- OUString m_sXMLNS_PREFIX_UNKNOWN;
- OUString m_sXMLNS;
+ OUString const m_sXMLNS_PREFIX_UNKNOWN;
+ OUString const m_sXMLNS;
sal_Int32 m_nLastURI_lookup;
OUString m_aLastURI_lookup;
@@ -301,7 +301,7 @@ inline void DocumentHandlerImpl::getElementName(
class ExtendedAttributes :
public ::cppu::WeakImplHelper< xml::input::XAttributes >
{
- sal_Int32 m_nAttributes;
+ sal_Int32 const m_nAttributes;
std::unique_ptr<sal_Int32[]> m_pUids;
std::unique_ptr<OUString[]> m_pLocalNames;
std::unique_ptr<OUString[]> m_pQNames;