summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-20 11:24:26 +0000
committerMichael Stahl <mstahl@redhat.com>2015-01-27 13:52:25 +0000
commitc8833f7b2ad56070af813a0605df7b52823cbb29 (patch)
treeedcbd2184742cb523796d196e0674bf6bae6f0bb /include
parent32e7fc9e82e0e62e872611482d97f745bac3899a (diff)
font cache gets broken on adding an embedded font
(cherry picked from commit 20142afafc809890d5e8dcfd4103c46319a488df) Conflicts: vcl/source/gdi/embeddedfontshelper.cxx Change-Id: I665cde5d4c89443238efb283c86277dedf621197 Reviewed-on: https://gerrit.libreoffice.org/14047 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 3e98666df2b5..21f59315a720 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1133,6 +1133,15 @@ public:
SAL_DLLPRIVATE void ImplInitFontList() const;
SAL_DLLPRIVATE void ImplUpdateFontData( bool bNewFontLists );
+
+ //drop font data for all outputdevices.
+ //If bNewFontLists is true then empty lists of system fonts
+ SAL_DLLPRIVATE static void ImplClearAllFontData( bool bNewFontLists );
+ //fetch font data for all outputdevices
+ //If bNewFontLists is true then fetch lists of system fonts
+ SAL_DLLPRIVATE static void ImplRefreshAllFontData( bool bNewFontLists );
+ //drop and fetch font data for all outputdevices
+ //If bNewFontLists is true then drop and refetch lists of system fonts
SAL_DLLPRIVATE static void ImplUpdateAllFontData( bool bNewFontLists );
protected: