summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-09-18 13:28:42 +0300
committerTor Lillqvist <tml@collabora.com>2013-09-18 13:34:18 +0300
commit8312c88dd59baf5e7fa88f15abf7f91e8d33defc (patch)
treee7b9dc96d03c4c4bf2d6b62cf22e56c08f751a99 /vcl
parentf59c47fc1e79050d3342924e6173b0f4b6ddaf02 (diff)
WaE: may be used uninitialized
Change-Id: I91fdbcb37efb002763204cd8a0fee9be26ffd6b4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 977aee810800..8645bb90890f 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())
{