[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jan 5 04:42:06 PST 2011
sc/source/filter/excel/xestyle.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 929e5879bc3f16ef746c37024b7cdc7e3e540ced
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 5 12:41:51 2011 +0000
WaE: C4701 potentially uninitialized local variable used
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 2a9e228..14dcf7d 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -528,7 +528,7 @@ const Color& XclExpPaletteImpl::GetOriginalColor( sal_uInt32 nColorId ) const
XclListColor* XclExpPaletteImpl::SearchListEntry( const Color& rColor, sal_uInt32& rnIndex )
{
rnIndex = mnLastIdx;
- XclListColor* pEntry;
+ XclListColor* pEntry=NULL;
// search optimization for equal-colored objects occuring repeatedly
if (rnIndex < mxColorList->size())
More information about the Libreoffice-commits
mailing list