diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-17 20:42:25 +0100 |
---|---|---|
committer | Tomáš Chvátal <tchvatal@suse.cz> | 2013-03-18 14:17:00 +0000 |
commit | 0f745a751b56302eeffa91ac29befed3f1f845f6 (patch) | |
tree | 610c03a67592349411e7a29a8ccb2207b520f347 /vcl | |
parent | 922d80ad11a78fb5abe05ba69f1a47e1bb76bd3c (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>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 2 |
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; } |