sfx2/source/dialog/infobar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9d68325feabac4c3278d0ca45033163f7461e66a
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Sat May 18 16:58:40 2019 +0200
Commit:     Xisco Faulí <xiscofa...@libreoffice.org>
CommitDate: Mon May 20 18:18:01 2019 +0200

    tdf#125358: initialize nHeight to 0
    
    Change-Id: I273abe32f1928f5fccb5ba02b3b77958dde58220
    Reviewed-on: https://gerrit.libreoffice.org/72530
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Reviewed-by: Xisco Faulí <xiscofa...@libreoffice.org>

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)
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to