summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2019-05-18 16:58:40 +0200
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2019-05-20 18:18:01 +0200
commit9d68325feabac4c3278d0ca45033163f7461e66a (patch)
treed06969a9ab9984e3ee968c0006936dff26a7dfb1 /sfx2
parent2140dea1413c9ef8e6e35409a15b0a3ea7149e67 (diff)
tdf#125358: initialize nHeight to 0
Change-Id: I273abe32f1928f5fccb5ba02b3b77958dde58220 Reviewed-on: https://gerrit.libreoffice.org/72530 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/infobar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index 5c65dc18ff40..84ab3d85f8d0 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -420,7 +420,7 @@ void SfxInfoBarContainerWindow::Resize()
{
// Only need to change the width of the infobars
long nWidth = GetSizePixel().getWidth();
- long nHeight = GetSizePixel().getHeight();
+ long nHeight = 0;
for (auto& rxInfoBar : m_pInfoBars)
{