diff options
author | Caolán McNamara <cmc@openoffice.org> | 2001-04-05 13:57:16 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2001-04-05 13:57:16 +0000 |
commit | 8f144b31992e181fa02df61dc78eea09d253613e (patch) | |
tree | 007ee48101ae7751201271b61e514f48b007af50 /starmath | |
parent | 1f9c49e1301f7eb1f0f4b2d04e8fc76d73d2e763 (diff) |
Fix scoping of semantics tag
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathml.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/starmath/source/mathml.cxx b/starmath/source/mathml.cxx index fcffda631875..7aa1755f96b3 100644 --- a/starmath/source/mathml.cxx +++ b/starmath/source/mathml.cxx @@ -2,9 +2,9 @@ * * $RCSfile: mathml.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: mib $ $Date: 2001-03-23 07:46:57 $ + * last change: $Author: cmc $ $Date: 2001-04-05 14:57:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3040,11 +3040,12 @@ void SmXMLExport::_ExportContent() { SvXMLElementExport aEquation(*this,XML_NAMESPACE_MATH,sXML_math, sal_False, sal_True); + SvXMLElementExport *pSemantics=0; if (pText) { - SvXMLElementExport aSemantics(*this,XML_NAMESPACE_MATH,sXML_semantics, - sal_True, sal_True); + pSemantics = new SvXMLElementExport(*this,XML_NAMESPACE_MATH, + sXML_semantics, sal_True, sal_True); } ExportNodes(pTree,0); @@ -3057,6 +3058,7 @@ void SmXMLExport::_ExportContent() sXML_annotation,sal_True, sal_False); GetDocHandler()->characters(*pText); } + delete pSemantics; } void SmXMLExport::GetViewSettings(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aProps) |