[Libreoffice-commits] .: 3 commits - basic/source idl/inc idl/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Jan 26 14:36:16 PST 2012
basic/source/sbx/sbxdec.cxx | 4 ++--
idl/inc/types.hxx | 1 -
idl/source/objects/types.cxx | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 16d803021f4bb1708eeec0ab97e875eb37e2e0e3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 26 22:34:22 2012 +0000
WaE: possibly uninitialized
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index 5f37c46..c7267f1 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -608,7 +608,7 @@ start:
}
case SbxSINGLE:
{
- float f;
+ float f(0.0);
pDec->getSingle( f );
p->nSingle = f;
break;
@@ -616,7 +616,7 @@ start:
case SbxDATE:
case SbxDOUBLE:
{
- double d;
+ double d(0.0);
pDec->getDouble( d );
p->nDouble = d;
break;
commit 098d2591238317ee234b45e2f6d694a964f0be57
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 26 13:32:16 2012 +0000
useless unused aPStr object
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 5889155..da182b5 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -1719,7 +1719,6 @@ void SvMetaType::WriteParamNames( SvIdlDataBase & rBase,
else
{
int type = GetType();
- ByteString aPStr;
if( TYPE_METHOD == type || TYPE_STRUCT == type )
{
commit 6d4b5da90f383f3a587d1675808a55798ad05178
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 26 12:55:41 2012 +0000
AppendParserString never defined
diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx
index bfa83b2..b0d5f21 100644
--- a/idl/inc/types.hxx
+++ b/idl/inc/types.hxx
@@ -230,7 +230,6 @@ public:
rtl::OString GetCString() const;
void WriteSvIdlType( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab );
void WriteOdlType( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab );
- void AppendParserString (ByteString &rString);
sal_uLong MakeSfx( rtl::OStringBuffer& rAtrrArray );
virtual void WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm );
More information about the Libreoffice-commits
mailing list