summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-29 19:42:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-29 19:42:57 +0100
commit26a0979711f89915508359a9804765d934631ec2 (patch)
treea92fee19c6f93b12897cb1c5014e5e4f16a9a763
parent86c2f4690b1fc5c65c1d36ca140ba65654debfca (diff)
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
-rw-r--r--sc/source/core/data/fillinfo.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 53ff7bb10903..0b27fb63893b 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);
}
}