[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Dec 29 10:45:40 PST 2012
sc/source/core/data/fillinfo.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 26a0979711f89915508359a9804765d934631ec2
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Dec 29 19:42:57 2012 +0100
bHOver isn't used in second loop and afterwards
See http://nabble.documentfoundation.org/Questions-about-function-lcl-GetMergeRange-sc-source-core-data-fillinfo-cxx-td4026455.html
Change-Id: I6fbd51917be1716b20a61a310186f4ca795dd639
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 53ff7bb..0b27fb6 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -118,14 +118,12 @@ static void lcl_GetMergeRange( SCsCOL nX, SCsROW nY, SCSIZE nArrY,
!pDoc->RowHidden(rStartY, nTab, NULL, &nLastRow) &&
(SCsROW) pRowInfo[nArrY].nRowNo == rStartY)
{
- bHOver = pRowInfo[nArrY].pCellInfo[rStartX+1].bHOverlapped;
bVOver = pRowInfo[nArrY].pCellInfo[rStartX+1].bVOverlapped;
}
else
{
sal_uInt16 nOverlap = ((ScMergeFlagAttr*)pDoc->GetAttr(
rStartX, rStartY, nTab, ATTR_MERGE_FLAG ))->GetValue();
- bHOver = ((nOverlap & SC_MF_HOR) != 0);
bVOver = ((nOverlap & SC_MF_VER) != 0);
}
}
More information about the Libreoffice-commits
mailing list