From fc9c5ffc5fe6f1404ec73134068aca955f69ad18 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 29 Aug 2013 11:12:50 +0200 Subject: Fix warning about class/struct mismatch Clang does not like this:-) Change-Id: I9c65025d99d31b5ef1314dadf90eef02d23eacb0 Reviewed-by: Konstantin Ritt --- src/gui/text/qfontengine_ft_p.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/text/qfontengine_ft_p.h b/src/gui/text/qfontengine_ft_p.h index e2e99893c8..084ef6cea3 100644 --- a/src/gui/text/qfontengine_ft_p.h +++ b/src/gui/text/qfontengine_ft_p.h @@ -75,11 +75,12 @@ class QFontEngineFTRawFont; class QFontconfigDatabase; /* - * This struct represents one font file on disk (like Arial.ttf) and is shared between all the font engines + * This class represents one font file on disk (like Arial.ttf) and is shared between all the font engines * that show this font file (at different pixel sizes). */ -struct QFreetypeFace +class QFreetypeFace { +public: void computeSize(const QFontDef &fontDef, int *xsize, int *ysize, bool *outline_drawing); QFontEngine::Properties properties() const; bool getSfntTable(uint tag, uchar *buffer, uint *length) const; -- cgit v1.2.3