On Thu, 2012-11-29 at 20:14 +0100, Eike Rathke wrote:
nIndex needs to be initialized for IsNumberFormat(), usually 0 for
current locale and general number format, if it isn't the method assumes
an arbitrary number format it tries to match against if general
detection fails.
If it isn't initialized things behave un-predictably I rather suspect -
since valgrind was giving me branch-on-uninitialized errors for the
couple of instances I fixed up for this method recently.
It'd be nice to catch that and/or improve the calling convention to use
a pointer value which defaults to NULL or something (?) ;-) perhaps an
easy hack ?
ATB,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.