Kaydet (Commit) c078d5fe authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#75642: Check the high position block correctly.

Change-Id: I25deabf69e78c6e0354e8a528ab88891a30f9aec
üst e5802954
...@@ -1538,7 +1538,9 @@ public: ...@@ -1538,7 +1538,9 @@ public:
// Move to the last position of the previous block. // Move to the last position of the previous block.
decBlock(aHiPos); decBlock(aHiPos);
if (aHiPos.first == mrCells.begin()) // Check the row postion of the end of the previous block, and make sure it's valid.
SCROW nBlockEndRow = aHiPos.first->position + aHiPos.first->size - 1;
if (nBlockEndRow < nStartRow)
{ {
mbValid = false; mbValid = false;
return; return;
......
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