[Libreoffice-commits] core.git: vcl/ios

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 8 09:42:55 UTC 2018


 vcl/ios/dummies.cxx |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

New commits:
commit 80258f93448d278a50cd4aaf130d821a01361a34
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Oct 8 11:36:34 2018 +0300
Commit:     Tor Lillqvist <tml at iki.fi>
CommitDate: Mon Oct 8 12:42:22 2018 +0300

    Define a dummy GlyphCache class here for now
    
    Change-Id: Ib26ed91ca90cc2f38e21cce54c093795b1059877

diff --git a/vcl/ios/dummies.cxx b/vcl/ios/dummies.cxx
index 641b0db2d6bf..94e2a86204ee 100644
--- a/vcl/ios/dummies.cxx
+++ b/vcl/ios/dummies.cxx
@@ -23,6 +23,9 @@
 #include "unx/fontmanager.hxx"
 #include "unx/gendata.hxx"
 
+class GlyphCache
+{
+};
 
 std::unique_ptr<SalPrinter> SvpSalInstance::CreatePrinter( SalInfoPrinter* /* pInfoPrinter */ )
 {
@@ -125,16 +128,19 @@ bool AquaSalGraphics::drawEPS( long, long, long, long, void*, sal_uLong )
 using namespace psp;
 
 GenericUnixSalData::GenericUnixSalData(GenericUnixSalDataType const t, SalInstance *const pInstance)
-    : m_eType(t), m_pDisplay(nullptr), m_pPrintFontManager(nullptr)
+    : m_eType(t)
+    , m_pDisplay(nullptr)
+    , m_pGlyphCache(new GlyphCache)
+    , m_pPrintFontManager(nullptr)
 {
-    m_pInstance = pInstance; SetSalData(this);
+    m_pInstance = pInstance;
+    SetSalData(this);
 }
 
 GenericUnixSalData::~GenericUnixSalData()
 {
 }
 
-
 PrintFontManager::~PrintFontManager()
 {
 }


More information about the Libreoffice-commits mailing list