[Libreoffice] Questions about ./sdext/source/minimizer/unodialog.cxx
caolanm at redhat.com
Mon Nov 8 08:23:35 PST 2010
On Mon, 2010-11-08 at 10:57 -0500, Norbert Thiebaud wrote:
> On 11/8/10, Noel Power <nopower at 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.
More information about the LibreOffice