diff --git a/fbreader/fbreader/fbreader/src/formats/oeb/NCXReader.cpp b/fbreader/fbreader/fbreader/src/formats/oeb/NCXReader.cpp index 469444a..4d97a69 100644 --- a/fbreader/fbreader/fbreader/src/formats/oeb/NCXReader.cpp +++ b/fbreader/fbreader/fbreader/src/formats/oeb/NCXReader.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) 2004-2010 Geometer Plus + * Copyright (C) 2020 Slava Monich * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -97,6 +98,7 @@ void NCXReader::endElementHandler(const char *fullTag) { myPointStack.pop_back(); myReadState = myPointStack.empty() ? READ_MAP : READ_POINT; } + break; case READ_LABEL: if (TAG_NAVLABEL == tag) { myReadState = READ_POINT; diff --git a/fbreader/fbreader/fbreader/src/formats/pdb/PmlReader.cpp b/fbreader/fbreader/fbreader/src/formats/pdb/PmlReader.cpp index ddf0dcf..1279937 100644 --- a/fbreader/fbreader/fbreader/src/formats/pdb/PmlReader.cpp +++ b/fbreader/fbreader/fbreader/src/formats/pdb/PmlReader.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) 2004-2010 Geometer Plus + * Copyright (C) 2020 Slava Monich * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -175,6 +176,7 @@ bool PmlReader::parseDocument(ZLInputStream &stream) { switch (parserState) { case READ_NORMAL_DATA: processCharData(dataStart, end - dataStart); + break; case READ_TAG: tagName.append(dataStart, end - dataStart); break; diff --git a/fbreader/fbreader/fbreader/src/formats/rtf/RtfReader.cpp b/fbreader/fbreader/fbreader/src/formats/rtf/RtfReader.cpp index 2ae0869..62ca695 100644 --- a/fbreader/fbreader/fbreader/src/formats/rtf/RtfReader.cpp +++ b/fbreader/fbreader/fbreader/src/formats/rtf/RtfReader.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) 2004-2010 Geometer Plus + * Copyright (C) 2020 Slava Monich * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -376,6 +377,7 @@ bool RtfReader::parseDocument() { switch (parserState) { case READ_NORMAL_DATA: processCharData(dataStart, end - dataStart); + break; case READ_KEYWORD: keyword.append(dataStart, end - dataStart); break;