[PATCH] coverity#982272 Copy-paste error

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Sun Mar 17 12:44:19 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2806

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/06/2806/1

coverity#982272 Copy-paste error

Change-Id: Iac5de5ea434e843c4bbf27763f16751d75e798ec
---
M vcl/source/window/layout.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



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 @@
         aRet.Width() += getLayoutRequisition(m_aVScroll).Width();
 
     if (m_aHScroll.IsVisible())
-        aRet.Height() += getLayoutRequisition(m_aVScroll).Height();
+        aRet.Height() += getLayoutRequisition(m_aHScroll).Height();
 
     return aRet;
 }

-- 
To view, visit https://gerrit.libreoffice.org/2806
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac5de5ea434e843c4bbf27763f16751d75e798ec
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list