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

Julien Nabet serval2412 at yahoo.fr
Mon Mar 18 07:17:19 PDT 2013


 vcl/source/window/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f745a751b56302eeffa91ac29befed3f1f845f6
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Mar 17 20:42:25 2013 +0100

    coverity#982272 Copy-paste error
    
    Change-Id: Iac5de5ea434e843c4bbf27763f16751d75e798ec
    Reviewed-on: https://gerrit.libreoffice.org/2806
    Reviewed-by: Joren De Cuyper <joren.libreoffice at telenet.be>
    Reviewed-by: Tomáš Chvátal <tchvatal at suse.cz>
    Tested-by: Tomáš Chvátal <tchvatal at suse.cz>

diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 4d98640..d1ac53b 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -1397,7 +1397,7 @@ Size VclScrolledWindow::calculateRequisition() const
         aRet.Width() += getLayoutRequisition(m_aVScroll).Width();
 
     if (m_aHScroll.IsVisible())
-        aRet.Height() += getLayoutRequisition(m_aVScroll).Height();
+        aRet.Height() += getLayoutRequisition(m_aHScroll).Height();
 
     return aRet;
 }


More information about the Libreoffice-commits mailing list