summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/ui/dlg/formula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index e30fe609daa0..7f54a59255a3 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -1903,7 +1903,7 @@ void FormEditData::Reset()
aUniqueId=OString();
aSelection.Min()=0;
aSelection.Max()=0;
- aUndoStr.Erase();
+ aUndoStr = "";
}
// -----------------------------------------------------------------------------
const FormEditData& FormEditData::operator=( const FormEditData& r )