sw/source/core/txtnode/swfntcch.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit fb1ecfa572fccfdcd18fafe21d8d0e7d4ebcde2a Author: Caolán McNamara <caol...@redhat.com> Date: Thu May 11 11:29:43 2017 +0100 ofz clear the *other* cache too to avoid lsan leak whining Change-Id: Ib8ce5b83d711e4425bb9f441b8d495a05af820bf Reviewed-on: https://gerrit.libreoffice.org/37501 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/txtnode/swfntcch.cxx b/sw/source/core/txtnode/swfntcch.cxx index 44cabed8d600..bc4ec4d5bf1c 100644 --- a/sw/source/core/txtnode/swfntcch.cxx +++ b/sw/source/core/txtnode/swfntcch.cxx @@ -23,6 +23,7 @@ #include <viewsh.hxx> #include "swfntcch.hxx" #include "fmtcol.hxx" +#include "fntcache.hxx" #include "swfont.hxx" // from atrstck.cxx @@ -66,6 +67,7 @@ SwCacheObj *SwFontAccess::NewObj( ) SAL_DLLPUBLIC_EXPORT void FlushFontCache() { pSwFontCache->Flush(); + pFntCache->Flush(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits