Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Noel Power píše v Út 31. 01. 2012 v 11:24 +0000:
On 30/01/12 17:16, Cedric Bosdonnat wrote:
Hi Michael,

On Thu, 2012-01-26 at 19:35 +0100, Michael Stahl wrote:
On 26/01/12 19:30, Michael Stahl wrote:
On 26/01/12 16:21, Cedric Bosdonnat wrote:
Hi all,

Could someone review and cherry-pick this commit to -3-5, -3-5-0 and
-3-4?
http://cgit.freedesktop.org/libreoffice/core/commit/?id=5e51960dede5015b862df05b7b16f02884647889
your fix looks good to me, except for the line:

   sal_uInt16 nMaxDstId = *aIds.end();
oops, now it occurs to me that dereferencing end() is a bad idea in any
case, you probably want to use rbegin() instead :)

if i'm reading this right, then aIds could be empty here, if the source
document has seq field references, and the target document has no seq
field references but note references.

suggest to wrap an "if (!aIds.empty())" around the whole block?
no need to adjust anything in that case, right?
Fixed in
http://cgit.freedesktop.org/libreoffice/core/commit/?id=458d56d9b35f2ecb2eea2589737079390b10ee26

Would be nice to cherry-pick these two commits to -3-5, -3-4 and 3-5-0
(if it's not too late).

the change looks good to me now too

Looked fine. Worked reasonable => pushed into 3-5-0, see
http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5-0&id=4632a18dae5e1770aa1da4ac55719a09c1ae461b
http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5-0&id=4925acf5648438589bca74f3dbfc2fc5fc9f61ab


Best Regards,
Petr


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.