[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Wed Sep 25 11:42:37 PDT 2013
sc/source/core/data/column3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e1f5178871979e39122462ec97a63ac70a3c1c41
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Wed Sep 25 20:39:48 2013 +0200
We need to clone the edit text instance to avoid double deletion.
Change-Id: I94faea482e8ceffe6f13362756274f3dbf0639ba
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index d6f5888..90f0f2b 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:
More information about the Libreoffice-commits
mailing list