Kaydet (Commit) 26a09797 authored tarafından Julien Nabet's avatar Julien Nabet

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
üst 86c2f469
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment