[Libreoffice-commits] core.git: Branch 'feature/sidebar' - svx/source

Pavel Janík paveljanik at apache.org
Fri May 10 06:15:53 PDT 2013


 svx/source/sidebar/insert/SimpleToolBoxController.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1140f8334936311dc267d032bad80e2ac993c6da
Author: Pavel Janík <paveljanik at apache.org>
Date:   Sun May 5 18:51:49 2013 +0000

    Initialize variable to prevent compiler warning
    
    (cherry picked from commit 4fba97b33858a6fc610b5540ab0277370e4147bf)
    
    Change-Id: I470036762114017a971a35aba2c7f0f41f482fa8

diff --git a/svx/source/sidebar/insert/SimpleToolBoxController.cxx b/svx/source/sidebar/insert/SimpleToolBoxController.cxx
index 5eba6da..c60b6ef 100644
--- a/svx/source/sidebar/insert/SimpleToolBoxController.cxx
+++ b/svx/source/sidebar/insert/SimpleToolBoxController.cxx
@@ -62,7 +62,7 @@ void SAL_CALL SimpleToolBoxController::statusChanged (const css::frame::FeatureS
     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


More information about the Libreoffice-commits mailing list