summaryrefslogtreecommitdiff
path: root/sc/source/core/data/cellvalue.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-06-18 15:11:30 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-06-24 16:51:25 -0400
commit46419cd7a2d453c6f252c28dfb9dbfb08605e1c4 (patch)
treef07f04cc6ccb108acd8fb2fe9f774c940b380a41 /sc/source/core/data/cellvalue.cxx
parentc008dc483f8c6840803983e7e351cec6fdd32070 (diff)
ScFormulaCell is no longer a child class of ScBaseCell.
Change-Id: Id33072f193045e2eaf51373b47dac803f9a5d52c
Diffstat (limited to 'sc/source/core/data/cellvalue.cxx')
-rw-r--r--sc/source/core/data/cellvalue.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/cellvalue.cxx b/sc/source/core/data/cellvalue.cxx
index 169d2f7ef6d7..abc1bbc5d5aa 100644
--- a/sc/source/core/data/cellvalue.cxx
+++ b/sc/source/core/data/cellvalue.cxx
@@ -172,7 +172,7 @@ void ScCellValue::clear()
delete mpEditText;
break;
case CELLTYPE_FORMULA:
- mpFormula->Delete();
+ delete mpFormula;
break;
default:
;