On Mon, 2010-11-08 at 10:57 -0500, Norbert Thiebaud wrote:
> On 11/8/10, Noel Power <[email protected]> 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.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice