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

We need to clone the edit text instance to avoid double deletion.

Change-Id: I94faea482e8ceffe6f13362756274f3dbf0639ba
üst 5840d3b0
......@@ -1208,7 +1208,7 @@ public:
{
EditTextObject* pObj = sc::edittext_block::at(*aPos.first->data, aPos.second);
miNewCellsPos = maNewCells.set(
miNewCellsPos, nDestRow-mnRowOffset, pObj);
miNewCellsPos, nDestRow-mnRowOffset, pObj->Clone());
}
break;
case sc::element_type_formula:
......
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