summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-11 11:53:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-11 15:19:32 +0200
commit6a12fa6a77e407bf2d1e8be47f915ade8e1eab28 (patch)
tree7f30057a882c25c36d1f476179b7f04ffb8f3b2b /include
parente628b94ccf062c2f3161acef11012ae2f5fbc5a3 (diff)
invalidate prerendered fontname cache on style change
Change-Id: Ie2111f23dc3346b914442090e3d9257c5659fafc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102459 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ctrlbox.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 7411976b1642..817e276665d4 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -30,10 +30,11 @@
namespace weld { class CustomWeld; }
-class VirtualDevice;
class BitmapEx;
class BorderWidthImpl;
class FontList;
+class VclSimpleEvent;
+class VirtualDevice;
/** Utility class storing the border line width, style and colors. The widths
are defined in Twips.
@@ -339,7 +340,8 @@ private:
SVT_DLLPRIVATE void ImplDestroyFontList();
DECL_LINK(CustomRenderHdl, weld::ComboBox::render_args, void);
- DECL_STATIC_LINK(FontNameBox, CustomGetSizeHdl, OutputDevice&, Size);
+ DECL_LINK(CustomGetSizeHdl, OutputDevice&, Size);
+ DECL_LINK(SettingsChangedHdl, VclSimpleEvent&, void);
DECL_LINK(UpdateHdl, Timer*, void);
void LoadMRUEntries( const OUString& aFontMRUEntriesFile );