sw/source/core/text/inftxt.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 1583d309dd4754c7c97f5464315a518aea390bb1 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Jan 11 19:40:33 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jan 11 21:38:02 2020 +0100 cid#1401328 Uncaught exception Change-Id: Ib8b988f0308d8d438e0f093594a179c84731ab3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86623 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index efe9d54e1222..83e8bde03ad3 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -64,6 +64,7 @@ #include <EnhancedPDFExportHelper.hxx> #include <docsh.hxx> #include <strings.hrc> +#include <o3tl/deleter.hxx> #include <vcl/gdimtf.hxx> #include <vcl/virdev.hxx> #include <vcl/gradient.hxx> @@ -747,7 +748,7 @@ void SwTextPaintInfo::DrawText_( const OUString &rText, const SwLinePortion &rPo } // Handle semi-transparent text if necessary. - std::unique_ptr<SwTransparentTextGuard> pTransparentText; + std::unique_ptr<SwTransparentTextGuard, o3tl::default_delete<SwTransparentTextGuard>> pTransparentText; if (m_pFnt->GetColor() != COL_AUTO && m_pFnt->GetColor().GetTransparency() != 0) { pTransparentText.reset(new SwTransparentTextGuard(rPor, *this, aDrawInf)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits