summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-17 20:42:25 +0100
committerTomáš Chvátal <tchvatal@suse.cz>2013-03-18 14:17:00 +0000
commit0f745a751b56302eeffa91ac29befed3f1f845f6 (patch)
tree610c03a67592349411e7a29a8ccb2207b520f347
parent922d80ad11a78fb5abe05ba69f1a47e1bb76bd3c (diff)
coverity#982272 Copy-paste error
Change-Id: Iac5de5ea434e843c4bbf27763f16751d75e798ec Reviewed-on: https://gerrit.libreoffice.org/2806 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 4d986407d7a0..d1ac53b4dade 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;
}