summaryrefslogtreecommitdiffstats
path: root/svgio
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-16 20:57:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-17 00:42:59 +0100
commit9b197ca70a591cba050075b61b7da1ecd9e4e224 (patch)
treecd1fe3088f70f792b25aab60e2a21292a6071223 /svgio
parentsal: try to fix Android build, no std::round (diff)
downloadcore-9b197ca70a591cba050075b61b7da1ecd9e4e224.tar.gz
core-9b197ca70a591cba050075b61b7da1ecd9e4e224.zip
ofz#5431 Direct-leak
Change-Id: I4ab6739bd2ae63170ade7019036827455f764666 Reviewed-on: https://gerrit.libreoffice.org/48014 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 'svgio')
-rw-r--r--svgio/source/svgreader/svgdocumenthandler.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx
index 1ce1e3b55ffd..60fab9e84e45 100644
--- a/svgio/source/svgreader/svgdocumenthandler.cxx
+++ b/svgio/source/svgreader/svgdocumenthandler.cxx
@@ -144,14 +144,12 @@ namespace svgio
SvgDocHdl::~SvgDocHdl()
{
-#ifdef DBG_UTIL
if(mpTarget)
{
OSL_ENSURE(false, "SvgDocHdl destructed with active target (!)");
delete mpTarget;
}
OSL_ENSURE(!maCssContents.size(), "SvgDocHdl destructed with active css style stack entry (!)");
-#endif
}
void SvgDocHdl::startDocument( )