summaryrefslogtreecommitdiff
path: root/include/xmlreader
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-21 18:04:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 08:15:50 +0200
commit2559a2a0567dbc392ceb34057c0dc5078bbb9474 (patch)
tree5293bec5148067acd1c0b3261c96e7c0c993ee1b /include/xmlreader
parent87a9979c8938b800aab6e35903d60d24892e7f2e (diff)
loplugin:constmethod in cppu,cppuhelper,idlc
Change-Id: I9138b7e5d53c30488f99e9f9b9fe3f98c8d6858b Reviewed-on: https://gerrit.libreoffice.org/43583 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmlreader')
-rw-r--r--include/xmlreader/xmlreader.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmlreader/xmlreader.hxx b/include/xmlreader/xmlreader.hxx
index 6c363d209b55..b2b97bd05afd 100644
--- a/include/xmlreader/xmlreader.hxx
+++ b/include/xmlreader/xmlreader.hxx
@@ -129,7 +129,7 @@ private:
SAL_DLLPRIVATE char read() { return pos_ == end_ ? '\0' : *pos_++; }
- SAL_DLLPRIVATE char peek() { return pos_ == end_ ? '\0' : *pos_; }
+ SAL_DLLPRIVATE char peek() const { return pos_ == end_ ? '\0' : *pos_; }
SAL_DLLPRIVATE void normalizeLineEnds(Span const & text);