mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
small refactoring: methods renaming
This commit is contained in:
parent
ecddc3dc1b
commit
7a3c54c00a
4 changed files with 29 additions and 30 deletions
|
@ -585,7 +585,7 @@ void XHTMLReader::beginParagraph() {
|
|||
myModelReader.addControl(**it);
|
||||
doBlockSpaceBefore =
|
||||
doBlockSpaceBefore ||
|
||||
(*it)->lengthSupported(ZLTextStyleEntry::LENGTH_SPACE_BEFORE);
|
||||
(*it)->isLengthSupported(ZLTextStyleEntry::LENGTH_SPACE_BEFORE);
|
||||
}
|
||||
|
||||
if (doBlockSpaceBefore) {
|
||||
|
@ -604,7 +604,7 @@ void XHTMLReader::endParagraph() {
|
|||
for (std::vector<shared_ptr<ZLTextStyleEntry> >::const_iterator it = myStyleEntryStack.begin(); it != myStyleEntryStack.end() - myStylesToRemove; ++it) {
|
||||
doBlockSpaceAfter =
|
||||
doBlockSpaceAfter ||
|
||||
(*it)->lengthSupported(ZLTextStyleEntry::LENGTH_SPACE_AFTER);
|
||||
(*it)->isLengthSupported(ZLTextStyleEntry::LENGTH_SPACE_AFTER);
|
||||
}
|
||||
if (doBlockSpaceAfter) {
|
||||
ZLTextStyleEntry blockingEntry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue