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


Hi Troy,

Many thanks for your nice patch: you found out the right place to hack!
However I have some concerns here...

On Thu, 2011-04-14 at 18:04 +1000, Troy Rollo wrote:
+                if ( nLen > 0 && aPrevStr.GetChar(nLen - 1) == '.' &&

This is quite restrictive as it only clears the ending '.' I think that
the same should apply whatever the suffix is.. Would one want to have
[1-] as the reference?

You could either hack the MakeNumString itself or get inspired of it to
get the suffix to remove.

+                     ( aRefNumStr.Len() == 0 ||
+                      aRefNumStr.GetChar(0) == '(' )

Why that test for strings starting with '(' ?

Don't hesitate to ask for help if you need some to improve the patch and
keep doing nice work like this one.

Regards,

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr


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.