diff options
author | Kelemen Gábor <kelemeng@ubuntu.com> | 2020-02-25 14:22:34 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-02-27 09:39:32 +0100 |
commit | 2c9170def5e862d57ce46ffb77041e76ee3606c5 (patch) | |
tree | 9fa48e0ea197840bf837ad884cac6620c6087408 /vcl | |
parent | 5ab55fe807b0f38b488b9bf2571f36401b319ff7 (diff) |
Fix compilation on Windows with --disable-skia
Trying to compile with option --disable-skia failed with:
error C2027: use of undefined type 'SkiaControlsCache'
Change-Id: I44b40cf7c2a8f356f8a49312a413c924c141c7df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89458
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/win/saldata.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index 5eb5a0fc2c4d..eadc7ade8957 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_VCL_INC_WIN_SALDATA_HXX #define INCLUDED_VCL_INC_WIN_SALDATA_HXX +#include <config_features.h> + #include <memory> #include <osl/module.h> @@ -43,7 +45,9 @@ struct HDCCache; struct TempFontItem; class TextOutRenderer; class OpenGLControlsCache; +#if HAVE_FEATURE_SKIA class SkiaControlsCache; +#endif #define MAX_STOCKPEN 4 #define MAX_STOCKBRUSH 4 @@ -125,7 +129,9 @@ public: std::unique_ptr<TextOutRenderer> m_pExTextOutRenderer; std::unique_ptr<GlobalWinGlyphCache> m_pGlobalWinGlyphCache; std::unique_ptr<OpenGLControlsCache> m_pOpenGLControlsCache; +#if HAVE_FEATURE_SKIA std::unique_ptr<SkiaControlsCache> m_pSkiaControlsCache; +#endif }; inline void SetSalData( SalData* pData ) { ImplGetSVData()->mpSalData = pData; } |