summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
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())
{