https://bugs.freedesktop.org/show_bug.cgi?id=68751
--- Comment #6 from Lionel Elie Mamane <lio...@mamane.lu> --- (In reply to comment #5) > What seemed to happen is that until the Structure has been initialised in > some way you can't just set the individual attributes. So oControl.Date.Year > = 2013 fails unless the control has been initialised (eg by entering data > manually in the form). Yes, the structure is probably initialised to 0000-00-00; so when trying to set the year, one tries to set the date to 2013-00-00, which is not a valid date and gets rejected. It is the same problem than what I described with respecting DateMin and DateMax at all times. I expect the same to happen e.g.: - when Date is 2013-03-31, set oControl.Date.Month = 2 (because there is not 31st February) - when Date is 2013-02-15, set oControl.Date.Day = 31 (because there is not 31st February) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs