summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-01 14:09:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-01 20:36:01 +0100
commit01e75b9b5c4459a5a8fbc86cd37635161efa093d (patch)
tree12aedc5ab2e98ec5acbfe9004bd2f19a6bc255d1 /writerfilter/source/dmapper
parent52a69f41e992efa2abc2e2e94414a2547df71329 (diff)
cid#1401328 Uncaught exception
and cid#1401334 Uncaught exception Change-Id: I0d489a487c4c8148da4978cb613829b9cf69d14d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106985 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'writerfilter/source/dmapper')
-rw-r--r--writerfilter/source/dmapper/FontTable.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/FontTable.cxx b/writerfilter/source/dmapper/FontTable.cxx
index c98177db5959..2dd7b3d91221 100644
--- a/writerfilter/source/dmapper/FontTable.cxx
+++ b/writerfilter/source/dmapper/FontTable.cxx
@@ -18,6 +18,7 @@
*/
#include "FontTable.hxx"
+#include <o3tl/deleter.hxx>
#include <ooxml/resourceids.hxx>
#include <vector>
#include <sal/log.hxx>
@@ -32,7 +33,7 @@ namespace writerfilter::dmapper
struct FontTable_Impl
{
- std::unique_ptr<EmbeddedFontsHelper> xEmbeddedFontHelper;
+ std::unique_ptr<EmbeddedFontsHelper, o3tl::default_delete<EmbeddedFontsHelper>> xEmbeddedFontHelper;
std::vector< FontEntry::Pointer_t > aFontEntries;
FontEntry::Pointer_t pCurrentEntry;
FontTable_Impl() {}