[Libreoffice] I need some advice to fix fdo#40363

Jean-Baptiste Faure jbf.faure at orange.fr
Mon Nov 28 22:14:40 PST 2011


Hi Eike,

Le 29/11/2011 00:35, Eike Rathke a écrit :
> Hi Jean-Baptiste,
> 
> On Monday, 2011-11-28 13:43:51 +0100, Jean-Baptiste Faure wrote:
> 
>> The bug described in fdo#40363 may occur if you make a typo when type
>> some dates in Calc.
> 
> Thanks for investigating, I'll dig into that.

Thank you.
> 
>> If I modify Date::IsValid so that only dates strictly between 1582-10-05
>> and 1582-10-15 are not valid, then the chart wizard works without problem.
> 
> Interesting.. but probably similar problems arise when the date would go
> negative. Or earlier..

In this case, when the year reach 0 it stay there. If I read well with
my little C++ knowledge (really, I am learning C++) Date operator --
does nothing if the day number is not > 1.

Best regards.
JBF
-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.


More information about the LibreOffice mailing list