basic/source/sbx/sbxdec.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit a62395237ed78f982ae74efe5ed8ad7834a2f95b Author: Caolán McNamara <caol...@redhat.com> Date: Wed Feb 15 13:00:08 2012 +0000 WaE: moaning about unintialized variables diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index c7267f1..bf36d88 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -685,7 +685,7 @@ start: break; case SbxBYREF | SbxCURRENCY: { - double d; + double d(0.0); if( !pDec->getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); *p->pnInt64 = ImpDoubleToCurrency( d ); @@ -693,7 +693,7 @@ start: break; case SbxBYREF | SbxSALINT64: { - double d; + double d(0.0); if( !pDec->getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); else @@ -702,7 +702,7 @@ start: break; case SbxBYREF | SbxSALUINT64: { - double d; + double d(0.0); if( !pDec->getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); else
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits