diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-30 19:05:41 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-11-06 12:05:32 +0100 |
commit | b66a7cbd8491fe436126e11975c360f47ae346ed (patch) | |
tree | a8dce4ec9526d69a5c4c8640e3728dc3723c9065 /vcl/qt5/Qt5FontFace.hxx | |
parent | 185c9724fd8445695f9233f8120c71e80392767d (diff) |
QT5 first stab on implementing CommonSalLayout
CommonSalLayout doesn't rally have an interface. It's cluttered
with #ifdefs. Currently we have to move the Qt5Font into the
VCL library. Someone should refactor this...
Doen't render any text yet, but reports some sizes.
Eventually that would cut down the public interface again.
Change-Id: I12f32affb05b37e070c6cbc80db01779f84590b6
Diffstat (limited to 'vcl/qt5/Qt5FontFace.hxx')
-rw-r--r-- | vcl/qt5/Qt5FontFace.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/qt5/Qt5FontFace.hxx b/vcl/qt5/Qt5FontFace.hxx index 76b8fdee99f1..7cfbdf8be702 100644 --- a/vcl/qt5/Qt5FontFace.hxx +++ b/vcl/qt5/Qt5FontFace.hxx @@ -44,8 +44,8 @@ public: int GetFontTable( const char pTagName[5], unsigned char* ) const; - const FontCharMapRef GetFontCharMap(); - bool GetFontCapabilities( vcl::FontCapabilities &rFontCapabilities ); + const FontCharMapRef GetFontCharMap() const; + bool GetFontCapabilities( vcl::FontCapabilities &rFontCapabilities ) const; bool HasChar( sal_uInt32 cChar ) const; protected: @@ -53,10 +53,10 @@ protected: Qt5FontFace( const FontAttributes& rFA, const QString &rFontID ); private: - const QString m_aFontId; - FontCharMapRef m_xCharMap; - vcl::FontCapabilities m_aFontCapabilities; - bool m_bFontCapabilitiesRead; + const QString m_aFontId; + mutable FontCharMapRef m_xCharMap; + mutable vcl::FontCapabilities m_aFontCapabilities; + mutable bool m_bFontCapabilitiesRead; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |