summaryrefslogtreecommitdiff
path: root/vcl/qt5
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2018-08-23 10:18:43 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2018-08-23 14:25:50 +0200
commit36d37015519d03d21fb7c6c3127bfa3d049dee58 (patch)
treea48e75b131573161aeb21730ed8ff8837fd55e47 /vcl/qt5
parentcd82e5317006d3411b6b3e13ef21b71c633bc919 (diff)
Qt5 initialize unx glyph cache
Until we implement a Qt based glyph cache, this prevents the crash for print preview. Change-Id: I37dd3f90cc0bcac28ef4ce9fe70fd566a781d903 Reviewed-on: https://gerrit.libreoffice.org/59489 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/qt5')
-rw-r--r--vcl/qt5/Qt5Data.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Data.cxx b/vcl/qt5/Qt5Data.cxx
index 9a2117f91a55..284c1614e100 100644
--- a/vcl/qt5/Qt5Data.cxx
+++ b/vcl/qt5/Qt5Data.cxx
@@ -149,8 +149,11 @@
#include <unx/x11_cursors/wsshow_curs.h>
#include <unx/x11_cursors/wsshow_mask.h>
+#include <unx/glyphcache.hxx>
+
Qt5Data::Qt5Data(SalInstance* pInstance)
: GenericUnixSalData(SAL_DATA_QT5, pInstance)
+ , m_pGlyphCache(new GlyphCache())
{
ImplSVData* pSVData = ImplGetSVData();