summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/outliner/outliner.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 1f077c2ab462..72c9a4b568df 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -418,6 +418,7 @@ void Outliner::SetToEmptyText()
{
OutlinerParaObject *pEmptyTxt = GetEmptyParaObject();
SetText(*pEmptyTxt);
+ delete pEmptyTxt;
}
void Outliner::SetText( const OUString& rText, Paragraph* pPara )