summaryrefslogtreecommitdiff
path: root/vcl/inc/skia
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-11-19 00:30:15 +0200
committerخالد حسني <khaled@aliftype.com>2022-11-19 12:43:51 +0100
commit042473d4b162c87a27a55e9b9f076b5fc479a55a (patch)
tree87f1a7ca683638f76360cb95a229cdfaff0e92de /vcl/inc/skia
parent0cf71ca47b463c0b944e31aa7bd66fdaf9097f8e (diff)
vcl: move creating DWriteFactory to a centeral place
We already have code in two places to create it, and I will need it in yet another place. Change-Id: I12dee85347a3894045c345b0ec9d5e02c493c218 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142956 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r--vcl/inc/skia/win/gdiimpl.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/skia/win/gdiimpl.hxx b/vcl/inc/skia/win/gdiimpl.hxx
index 1977e7152080..92f873ca7d43 100644
--- a/vcl/inc/skia/win/gdiimpl.hxx
+++ b/vcl/inc/skia/win/gdiimpl.hxx
@@ -65,8 +65,6 @@ protected:
virtual void createWindowSurfaceInternal(bool forceRaster = false) override;
static sk_sp<SkTypeface> createDirectWriteTypeface(HDC hdc, HFONT hfont);
static void initFontInfo();
- inline static sal::systools::COMReference<IDWriteFactory> dwriteFactory;
- inline static sal::systools::COMReference<IDWriteGdiInterop> dwriteGdiInterop;
inline static sal::systools::COMReference<IDWriteFontSetBuilder> dwriteFontSetBuilder;
inline static sal::systools::COMReference<IDWriteFontCollection1> dwritePrivateCollection;
inline static sk_sp<SkFontMgr> dwriteFontMgr;