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

New commits:
commit 0f745a751b56302eeffa91ac29befed3f1f845f6
Author: Julien Nabet <[email protected]>
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 <[email protected]>
    Reviewed-by: Tomáš Chvátal <[email protected]>
    Tested-by: Tomáš Chvátal <[email protected]>

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;
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to