incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arie...@apache.org
Subject svn commit: r1225859 - /incubator/ooo/trunk/main/sc/source/ui/unoobj/cellsuno.cxx
Date Fri, 30 Dec 2011 16:50:22 GMT
Author: arielch
Date: Fri Dec 30 16:50:21 2011
New Revision: 1225859

URL: http://svn.apache.org/viewvc?rev=1225859&view=rev
Log:
i118697 - Fix uninitialized variable

Pointed by Pavel Janík.

Modified:
    incubator/ooo/trunk/main/sc/source/ui/unoobj/cellsuno.cxx

Modified: incubator/ooo/trunk/main/sc/source/ui/unoobj/cellsuno.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/ui/unoobj/cellsuno.cxx?rev=1225859&r1=1225858&r2=1225859&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/ui/unoobj/cellsuno.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/ui/unoobj/cellsuno.cxx Fri Dec 30 16:50:21 2011
@@ -8543,7 +8543,7 @@ void ScTableSheetObj::SetOnePropertyValu
         }
         else if ( pEntry->nWID == SC_WID_UNO_TABCOLOR )
         {
-            sal_Int32 nColor;
+            sal_Int32 nColor = COL_AUTO;
             if ( aValue >>= nColor )
             {
                 const Color aColor( static_cast< ColorData >( nColor ) );



Mime
View raw message