diff options
Diffstat (limited to 'sc/source/ui/undo/undocell.cxx')
-rw-r--r-- | sc/source/ui/undo/undocell.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 878a0772f1bf..76fa36e56d5c 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -516,6 +516,7 @@ ScUndoSetCell::Value::Value( const Value& r ) : meType(r.meType), mfValue(r.mfVa break; case CELLTYPE_FORMULA: mpFormula = r.mpFormula->Clone(); + break; default: ; } @@ -530,8 +531,10 @@ ScUndoSetCell::Value::~Value() break; case CELLTYPE_EDIT: delete mpEditText; + break; case CELLTYPE_FORMULA: mpFormula->Delete(); + break; default: ; } |