From 042473d4b162c87a27a55e9b9f076b5fc479a55a Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 19 Nov 2022 00:30:15 +0200 Subject: vcl: move creating DWriteFactory to a centeral place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: خالد حسني --- vcl/inc/skia/win/gdiimpl.hxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl/inc/skia') 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 createDirectWriteTypeface(HDC hdc, HFONT hfont); static void initFontInfo(); - inline static sal::systools::COMReference dwriteFactory; - inline static sal::systools::COMReference dwriteGdiInterop; inline static sal::systools::COMReference dwriteFontSetBuilder; inline static sal::systools::COMReference dwritePrivateCollection; inline static sk_sp dwriteFontMgr; -- cgit