diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-09-05 19:36:25 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-09-06 07:19:57 +0200 |
commit | e75631211b596df3997f6fe6eb5422b931bd0384 (patch) | |
tree | 5e6040071c9545a738f4b6c50b5eba2842d5a26e /vcl/inc/win/salgdi.h | |
parent | feb8d07333544ff2206489b786b7af30744d014a (diff) |
vcl: Create HFNT on WinFontFace when needed
I’m seeing frequent CI failures with warnings like:
warn:sfx.appl:13336:18148:sfx2/source/appl/app.cxx:147: No DDE-Service possible. Error: 16399
warn:vcl:13336:18148:vcl/win/gdi/salvd.cxx:99: CreateCompatibleDC failed: There are no more files.
Lets see if this is causing us to hit the GDI object limit.
Change-Id: I1257ac7e701277814b5d17b40192ad3bc81a8e0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139449
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/inc/win/salgdi.h')
-rw-r--r-- | vcl/inc/win/salgdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index ef7cdf210c94..b107308ec10b 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -80,7 +80,7 @@ private: BYTE mnPitchAndFamily; bool mbAliasSymbolsHigh; bool mbAliasSymbolsLow; - HFONT mhFont; + LOGFONTW maLogFont; }; /** Class that creates (and destroys) a compatible Device Context. |