diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-23 16:28:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-24 08:32:46 +0200 |
commit | 0b7fe7b2ceff8056b619b994fc765eb827f29bf3 (patch) | |
tree | fe296a2aaa31123aa0ec4d23c00a79855c69fcb5 /include/xmlreader | |
parent | f08a06052bfe38c2bc0a23bd2c56ff9c1cb5536c (diff) |
loplugin:unusedfields,can-be-const in xmlreader
Change-Id: I762a749b858063a1c063ee918bb6d33e06328876
Reviewed-on: https://gerrit.libreoffice.org/57852
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmlreader')
-rw-r--r-- | include/xmlreader/xmlreader.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/xmlreader/xmlreader.hxx b/include/xmlreader/xmlreader.hxx index b2b97bd05afd..fb44d01ef067 100644 --- a/include/xmlreader/xmlreader.hxx +++ b/include/xmlreader/xmlreader.hxx @@ -78,8 +78,8 @@ private: // elements_ and attributes_): struct NamespaceData { - Span prefix; - int nsId; + Span const prefix; + int const nsId; NamespaceData(): nsId(-1) {} @@ -91,9 +91,9 @@ private: typedef std::vector< NamespaceData > NamespaceList; struct ElementData { - Span name; - NamespaceList::size_type inheritedNamespaces; - int defaultNamespaceId; + Span const name; + NamespaceList::size_type const inheritedNamespaces; + int const defaultNamespaceId; ElementData( Span const & theName, @@ -168,7 +168,7 @@ private: SAL_DLLPRIVATE static int toNamespaceId(NamespaceIris::size_type pos); - OUString fileUrl_; + OUString const fileUrl_; oslFileHandle fileHandle_; sal_uInt64 fileSize_; void * fileAddress_; |