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>
This commit is contained in:
Noel Grandin
2016-05-24 06:54:19 +00:00
committed by Noel Grandin
parent 111de438ea
commit 6bda2bf6fe
8 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -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: