DOCX Input: Fix no page break being inserted before the last section.

Fixes #1198414 [Private bug](https://bugs.launchpad.net/calibre/+bug/1198414)
This commit is contained in:
Kovid Goyal 2013-07-06 19:02:00 +05:30
parent 0711e03bd4
commit e836bbd203

View File

@ -203,6 +203,7 @@ class Convert(object):
current.append(p)
if current:
self.section_starts.append(current[0])
last = XPath('./w:body/w:sectPr')(doc)
pr = PageProperties(last)
for x in current: