openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1479357 - /openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx
Date Sun, 05 May 2013 18:51:49 GMT
Author: paveljanik
Date: Sun May  5 18:51:49 2013
New Revision: 1479357

URL: http://svn.apache.org/r1479357
Log:
Initialize variable to prevent compiler warning.

Modified:
    openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx

Modified: openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx?rev=1479357&r1=1479356&r2=1479357&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx (original)
+++ openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx Sun May  5
18:51:49 2013
@@ -68,7 +68,7 @@ void SAL_CALL SimpleToolBoxController::s
     nItemBits &= ~TIB_CHECKABLE;
     TriState eState = STATE_NOCHECK;
 
-    sal_Bool bValue;
+    sal_Bool bValue = sal_False;
     if (rEvent.State >>= bValue)
     {
         // Boolean, treat it as checked/unchecked



Mime
View raw message