From b10c8f3fce37d72019f4767fdb9612b46845aecd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 21 Aug 2018 08:38:57 +0100 Subject: turn the cache around to work on LogicalFontInstance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara --- vcl/inc/qt5/Qt5Font.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/inc/qt5/Qt5Font.hxx') diff --git a/vcl/inc/qt5/Qt5Font.hxx b/vcl/inc/qt5/Qt5Font.hxx index 034cda35c2d4..ca975502c920 100644 --- a/vcl/inc/qt5/Qt5Font.hxx +++ b/vcl/inc/qt5/Qt5Font.hxx @@ -28,11 +28,11 @@ class Qt5Font final : public QFont, public LogicalFontInstance { friend rtl::Reference - Qt5FontFace::CreateFontInstance(const FontSelectPattern&) const; + Qt5FontFace::CreateFontInstance(const FontSelectPatternAttributes&) const; virtual hb_font_t* ImplInitHbFont() override; - explicit Qt5Font(const PhysicalFontFace&, const FontSelectPattern&); + explicit Qt5Font(const PhysicalFontFace&, const FontSelectPatternAttributes&); public: virtual ~Qt5Font() override; -- cgit