summaryrefslogtreecommitdiff
path: root/vcl/inc/salgdi.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-21 08:38:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-22 00:24:15 +0200
commitb10c8f3fce37d72019f4767fdb9612b46845aecd (patch)
treeb6a74975522b301cb9892021a32135ee75bf7a2d /vcl/inc/salgdi.hxx
parent4790dd4d957827f9b2eeffe23ce1a8d63635df0d (diff)
turn the cache around to work on LogicalFontInstance
instead of a FontSelectPattern with an associated LogicalFontInstance use a LogicalFontInstance with owned FontSelectPatternAttributes Change-Id: I939f84731fcb8db5ff6484dcfbd2f9199bb50d23 Reviewed-on: https://gerrit.libreoffice.org/59388 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r--vcl/inc/salgdi.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index 84f0551a6d2d..f6c3aa2d3870 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -34,7 +34,7 @@
class PhysicalFontCollection;
class SalBitmap;
-class FontSelectPattern;
+class FontSelectPatternAttributes;
class FontAttributes;
class PhysicalFontFace;
class SalLayout;
@@ -123,7 +123,7 @@ public:
virtual void SetTextColor( Color nColor ) = 0;
// set the font
- virtual void SetFont( LogicalFontInstance*, int nFallbackLevel ) = 0;
+ virtual void SetFont(LogicalFontInstance*, int nFallbackLevel) = 0;
// release the fonts
void ReleaseFonts() { SetFont( nullptr, 0 ); }