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:
committed by
Noel Grandin
parent
111de438ea
commit
6bda2bf6fe
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user