Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Mon, 2010-11-08 at 10:57 -0500, Norbert Thiebaud wrote:
On 11/8/10, Noel Power <nopower@novell.com> wrote:
returns true if it was able to successfully extract the value from the
'theAny' into 'something' so there is a possibility of a runtime divide
by zero ( and probably should be defensively coded around )


humm... yes you are right.

*cough*, yeah that's true isn't it :-). 

-if (asd >>= nMapWidth)
+if (asd >>= nMapWidth && nMapWidth)
{
...
}

should be a good fix if someone wants to lamp that in.

C.


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.