diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-27 11:05:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-27 14:03:35 +0100 |
commit | 25aad15042f45682211ab318dc0e2c004d61c72c (patch) | |
tree | f14f76f3c578a858c980fe533788b3f2a4585d52 /vcl | |
parent | 3fbda6517e4ee345966873d2930c226b890f33e9 (diff) |
LOGFONTW::lfHeight is of type LONG
Change-Id: Iec7e8e84b8a6ee9e4ddbbbf5708bf9040418bbb0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106752
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salnativewidgets-luna.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx index 95b95861586f..793b061e0e5c 100644 --- a/vcl/win/gdi/salnativewidgets-luna.cxx +++ b/vcl/win/gdi/salnativewidgets-luna.cxx @@ -1425,7 +1425,7 @@ bool WinSalGraphics::getNativeControlRegion( ControlType nType, aNonClientMetrics.cbSize = sizeof( aNonClientMetrics ); if ( SystemParametersInfoW( SPI_GETNONCLIENTMETRICS, sizeof( aNonClientMetrics ), &aNonClientMetrics, 0 ) ) { - long nFontHeight = aNonClientMetrics.lfMessageFont.lfHeight; + LONG nFontHeight = aNonClientMetrics.lfMessageFont.lfHeight; if( nFontHeight < 0 ) nFontHeight = -nFontHeight; |