[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at collabora.com
Wed Sep 18 03:34:50 PDT 2013


 vcl/source/window/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8312c88dd59baf5e7fa88f15abf7f91e8d33defc
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Sep 18 13:28:42 2013 +0300

    WaE: may be used uninitialized
    
    Change-Id: I91fdbcb37efb002763204cd8a0fee9be26ffd6b4

diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 977aee8..8645bb9 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -1691,7 +1691,7 @@ void VclScrolledWindow::setAllocation(const Size &rAllocation)
     }
 
     Size aInnerSize(aChildAllocation);
-    long nScrollBarWidth, nScrollBarHeight;
+    long nScrollBarWidth = 0, nScrollBarHeight = 0;
 
     if (m_aVScroll.IsVisible())
     {


More information about the Libreoffice-commits mailing list