diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-16 13:16:23 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-16 16:48:40 +0100 |
commit | b0967c69d3e08efbc8e3dec807601ac52870792a (patch) | |
tree | baac057bf481b419a53b796e3002398ed799d938 /sdext | |
parent | ba2166ab40b58279da2aeb700c23d49515eb640f (diff) |
fix crash on pdf import of tdf59883-2
after
commit a9ef943769b06e6bdffe7326f288b27e08a95698
Date: Wed Feb 28 11:09:43 2018 +0200
loplugin:useuniqueptr in sdext
Change-Id: I3f54002764ee42162279bade49a3e3b21e136917
Reviewed-on: https://gerrit.libreoffice.org/51402
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 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 81c2a945366e..d1cbab6fb215 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -458,7 +458,6 @@ void DrawXmlOptimizer::visit( PolyPolyElement& elem, const std::list< std::uniqu #else elem.Parent->Children.erase(next_it); #endif - delete pNext; } } |