summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlctxt.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-12-13 12:46:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-12-14 11:06:45 +0100
commit5399998c498bd3047ecb430868d3aa0cde61fef2 (patch)
tree042999af0be684589941ee2c5e6d882968d6e2a3 /sw/source/filter/html/htmlctxt.cxx
parenta5c201790bac259da6666543852c8734ed4a9132 (diff)
fiddle with leaks some more
Change-Id: Ia4297ce2b537953fe2262b645b7bf7f8a85b5d41 Reviewed-on: https://gerrit.libreoffice.org/46408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/html/htmlctxt.cxx')
-rw-r--r--sw/source/filter/html/htmlctxt.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx
index 91b7384c844d..263c347b01b7 100644
--- a/sw/source/filter/html/htmlctxt.cxx
+++ b/sw/source/filter/html/htmlctxt.cxx
@@ -375,6 +375,7 @@ void SwHTMLParser::ClearContext( HTMLAttrContext *pContext )
// but if you get that wrong, quite a lot is messed up
DeleteAttr( pAttr );
}
+ rAttrs.clear();
OSL_ENSURE( !pContext->GetSpansSection(),
"Area can no longer be exited" );