diff options
author | Jonathan Pryor <jpryor@novell.com> | 2010-09-15 12:07:16 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-15 14:09:38 +0200 |
commit | 8c929c317b4c69d1f5933a95e7c34c1d24f7fb8e (patch) | |
tree | 17a679f4f3f64ab13589013071e6056a650a71e3 | |
parent | 4927b87e1dcbbd8848f74da1b99fd43a67139177 (diff) |
calc-filter-xml-free-context.diff: Don't use pShapeContext after deleting it
n#467536
-rw-r--r-- | sc/source/filter/xml/xmlannoi.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlannoi.cxx b/sc/source/filter/xml/xmlannoi.cxx index 14fc34954564..8db7a554256c 100644 --- a/sc/source/filter/xml/xmlannoi.cxx +++ b/sc/source/filter/xml/xmlannoi.cxx @@ -192,6 +192,7 @@ void ScXMLAnnotationContext::EndElement() { pShapeContext->EndElement(); delete pShapeContext; + pShapeContext = NULL; } mrAnnotationData.maAuthor = maAuthorBuffer.makeStringAndClear(); |