summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/tree/drawtreevisiting.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/tree/drawtreevisiting.cxx')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index d1cbab6fb215..aba49aa0ee0d 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -736,7 +736,6 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
pCur->Children.splice( pCur->Children.end(), pNext->Children );
// get rid of the now useless element
rParent.Children.erase( next );
- delete pNext;
bConcat = true;
}
}