[Libreoffice-commits] .: sc/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Dec 20 04:51:01 PST 2011


 sc/source/core/data/table1.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4645a24805fb69c75c69547babd498ec913e61a0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 20 12:50:10 2011 +0000

    valgrind: uninitialized values used

diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 06b8203..93285a2 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -239,7 +239,9 @@ ScTable::ScTable( ScDocument* pDoc, SCTAB nNewTab, const rtl::OUString& rNewName
     nLinkMode( 0 ),
     aPageStyle( ScGlobal::GetRscString(STR_STYLENAME_STANDARD) ),
     nRepeatStartX( SCCOL_REPEAT_NONE ),
+    nRepeatEndX( SCCOL_REPEAT_NONE ),
     nRepeatStartY( SCROW_REPEAT_NONE ),
+    nRepeatEndY( SCROW_REPEAT_NONE ),
     pTabProtection( NULL ),
     pColWidth( NULL ),
     mpRowHeights( static_cast<ScFlatUInt16RowSegments*>(NULL) ),


More information about the Libreoffice-commits mailing list