[Libreoffice] [PUSHED][PATCH] migrate to StringRangeEnumerator in Draw

Ivan Timofeev timofeev.i.s at gmail.com
Tue Oct 4 06:47:29 PDT 2011


my previous patch introduced some bugs. :-)
1. If doc contains the only one page and range is empty, this page
doubles. I think, this is due to errors in StringRangeEnumerator.
2. Current page index is zero-based in code and one-based in UI. So,
I've added "+1".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-doubling-of-one-page-when-range-is-empty-and-inc.patch
Type: text/x-patch
Size: 2010 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111004/f19e8455/attachment.bin>

More information about the LibreOffice mailing list