Kaydet (Commit) 64e439ed authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735495 logically dead code

Change-Id: I8f2bc4ebd4d7c476495c5f1d92e8536c7be50c51
üst 8f91c4ad
......@@ -882,7 +882,7 @@ bool SmCursor::InsertRow() {
}
}
//If we're in the context of a matrix
else if(pMatrix) {
else {
//Find position after insert and patch the list
PosAfterInsert = PatchLineList(pLineList, it);
//Move other children
......@@ -898,8 +898,7 @@ bool SmCursor::InsertRow() {
pMatrix->SetSubNode(i, pNewLine);
}
pMatrix->SetRowCol(rows + 1, cols);
} else
SAL_WARN("starmath", "We must be either the context of a table or matrix!");
}
//Finish editing
FinishEdit(pLineList, pLineParent, nParentIndex, PosAfterInsert);
......
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