[Libreoffice-commits] core.git: vcl/win
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Nov 27 13:04:11 UTC 2020
vcl/win/gdi/salnativewidgets-luna.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 25aad15042f45682211ab318dc0e2c004d61c72c
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 27 11:05:57 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Nov 27 14:03:35 2020 +0100
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 at redhat.com>
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;
More information about the Libreoffice-commits
mailing list