summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/oox/autofiltercontext.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-05-31 11:50:20 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-09-09 15:40:37 +0200
commitb7de766b4dc5b4810277069bcf53a9f3737e87da (patch)
tree6372a6d6b42bccd47bd5ad09c353b44ccf317483 /sc/source/filter/oox/autofiltercontext.cxx
parentResolves: tdf#136364 treat svSep type with ocUnion as range type (diff)
downloadcore-b7de766b4dc5b4810277069bcf53a9f3737e87da.tar.gz
core-b7de766b4dc5b4810277069bcf53a9f3737e87da.zip
pdfium: only init pdfium library once and destroy on LO exit
With more and more usage of PDFium, it is hard to keep track of the life-time of the PDFium library, so it can happen that a FPDF_DestroyLibrary happens when we still have another instance where PDFium is still use. The result of this is a crash. To prevent this, just initialize the library once and delete, when on LO exit. This can be improved in the future to only keep the library active when in actual use. [ Leaving out the vector graphic search bits, the motivation is to just have this in libreoffice-7-0, so that recent pdf sig verify improvements can be backported. ] (cherry picked from commit 067a8a954c8e1d8d6465a4ab5fb61e93f16c26c2) Conflicts: vcl/source/graphic/VectorGraphicSearch.cxx Change-Id: I5c7e5de7f8b97d10efb394c67c7a61b976c8d57c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102317 Tested-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sc/source/filter/oox/autofiltercontext.cxx')
0 files changed, 0 insertions, 0 deletions