https://bugs.freedesktop.org/show_bug.cgi?id=68751

--- Comment #4 from Lionel Elie Mamane <lio...@mamane.lu> ---
(In reply to comment #3)

> I failed to find any release notes that warned me of this impending change.

Good point. Added to
https://wiki.documentfoundation.org/ReleaseNotes/4.1#Changes_to_UNO_APIs

> (the Basic error message was not exactly helpful)

Yes, I agree. That's (half of) bug 40144.

> I was also a bit frantic since my Ubuntu LO 4.1 ppa wouldn't let me go back
> to 4.1.0

If you use aptitude as front-end, then the installation files (.debs) for
everything you ever installed in the past are in /var/cache/apt/archives/
until you empty the cache (from the aptitude menu). Doesn't make it
particularly easy to use them, though.

Maybe Ubuntu has a service similar to snapshot.debian.org that archives
past versions? Dunno.

> I'd never have guessed how to use the com.sun.star.util.Date type, so thanks
> for that.

Star Basic is annoying with structures... Actually, since bug 42819 and bug
47263 are fixed (I forgot they were...), you could try:

aDateControl.Date.Year = 2013
aDateControl.Date.Month = 5
aDateControl.Date.Day = 3

If it does not work, I'll make it a new Basic bug report / enhancement request.

Note, however, that this is not strictly equivalent to my previous example.
E.g. if the current value of the control is 2012-10-30, and DateMax is
2013-06-30, then the above will fail. This

aDateControl.Date.Day = 3
aDateControl.Date.Month = 5
aDateControl.Date.Year = 2013

will succeed in this case, but fail if DateMin is 2012-10-15...

-- 
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

Reply via email to