diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-09-25 20:39:48 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-09-25 20:40:23 +0200 |
commit | e1f5178871979e39122462ec97a63ac70a3c1c41 (patch) | |
tree | 0b6b81f76e26421a58b19ecce1a2c8995035a355 /sc/source | |
parent | 5840d3b050731a64da9ea00351a0fddb8d22f984 (diff) |
We need to clone the edit text instance to avoid double deletion.
Change-Id: I94faea482e8ceffe6f13362756274f3dbf0639ba
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/column3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index d6f588848efc..90f0f2bf8b81 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -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: |