diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-22 12:08:45 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-12 08:45:14 +0000 |
commit | 52b91f3454394a1792dec018804bf2c969f564e5 (patch) | |
tree | b72a1bedae05e7e16268487e6d16773f8ee57674 /xmloff | |
parent | c44726c48228d9c6a5960e302b1c0bd16b0099c4 (diff) |
new loplugin fragiledestructor
fix up a small number of places that it finds
Change-Id: Iedc91e141edfb28f727454f698cd2155a7fd5bf4
Reviewed-on: https://gerrit.libreoffice.org/26566
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 688c6e8427fb..1de42c284ade 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -98,7 +98,7 @@ namespace xmloff OElementExport::~OElementExport() { - implEndElement(); + delete m_pXMLElement; } void OElementExport::doExport() @@ -246,7 +246,8 @@ namespace xmloff OControlExport::~OControlExport() { - implEndElement(); + // end the outer element if it exists + delete m_pOuterElement; } void OControlExport::exportOuterAttributes() @@ -1971,7 +1972,6 @@ namespace xmloff OColumnExport::~OColumnExport() { - implEndElement(); } void OColumnExport::exportServiceNameAttribute() |