On 03/22/2013 02:50 PM, Zolnai Tamás wrote:
From that matter, why is that the toInt64() function doesn't pay attention on overflow/underflow? Maybe it would simpler to handle these "flows" in that function.
Yes, letting the to<Integral> functions return zero in case of overflow, similarly to the case where "this string represents no number," would make a lot of sense. Patches welcome.
Stephan _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice