diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-23 14:51:43 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-24 06:54:19 +0000 |
commit | 6bda2bf6fe8afba0b47ad89033ea3dbf6dc8b797 (patch) | |
tree | 7f52cca48b7229406580eb7d665527bd9df0b8d1 /xmlreader/source | |
parent | 111de438ea3e512a541281dc0716cc728ea8d152 (diff) |
Convert XmlReader::Text to scoped enum
Change-Id: I4741b13fcf887a95b85886cb41f8236e128e81a2
Reviewed-on: https://gerrit.libreoffice.org/25364
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlreader/source')
-rw-r--r-- | xmlreader/source/xmlreader.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx index 5f4e506771fb..41310f6ee157 100644 --- a/xmlreader/source/xmlreader.cxx +++ b/xmlreader/source/xmlreader.cxx @@ -144,11 +144,11 @@ XmlReader::Result XmlReader::nextItem(Text reportText, Span * data, int * nsId) switch (state_) { case STATE_CONTENT: switch (reportText) { - case TEXT_NONE: + case Text::NONE: return handleSkippedText(data, nsId); - case TEXT_RAW: + case Text::Raw: return handleRawText(data); - case TEXT_NORMALIZED: + case Text::Normalized: return handleNormalizedText(data); } case STATE_START_TAG: |