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

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Mon May 20 16:18:48 UTC 2019


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

New commits:
commit 9d68325feabac4c3278d0ca45033163f7461e66a
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sat May 18 16:58:40 2019 +0200
Commit:     Xisco FaulĂ­ <xiscofauli at 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.grandin at collabora.co.uk>
    Reviewed-by: Xisco FaulĂ­ <xiscofauli at 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)
     {


More information about the Libreoffice-commits mailing list