diff options
Diffstat (limited to 'vcl/unx/generic/app/gendata.cxx')
-rw-r--r-- | vcl/unx/generic/app/gendata.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/gendata.cxx b/vcl/unx/generic/app/gendata.cxx index 444d653023a7..79175217c89a 100644 --- a/vcl/unx/generic/app/gendata.cxx +++ b/vcl/unx/generic/app/gendata.cxx @@ -17,9 +17,16 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifdef IOS +#include <ios/iosinst.hxx> +#endif + #include <unx/gendata.hxx> #include <unx/fontmanager.hxx> + +#ifndef IOS + #include <unx/glyphcache.hxx> #include <printerinfomanager.hxx> @@ -27,6 +34,8 @@ SalData::SalData() { SetSalData(this); } SalData::~SalData() {} +#endif + GenericUnixSalData::GenericUnixSalData() : m_pDisplay(nullptr) { @@ -34,21 +43,27 @@ GenericUnixSalData::GenericUnixSalData() GenericUnixSalData::~GenericUnixSalData() { +#ifndef IOS // at least for InitPrintFontManager the sequence is important m_pPrintFontManager.reset(); m_pFreetypeManager.reset(); m_pPrinterInfoManager.reset(); +#endif } void GenericUnixSalData::Dispose() {} +#ifndef IOS void GenericUnixSalData::InitFreetypeManager() { m_pFreetypeManager.reset(new FreetypeManager); } +#endif void GenericUnixSalData::InitPrintFontManager() { +#ifndef IOS GetFreetypeManager(); m_pPrintFontManager.reset(new psp::PrintFontManager); m_pPrintFontManager->initialize(); +#endif } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |