vcl/win/gdi/salnativewidgets-luna.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 4ca0a15af2a1bd9386f5a0d93e9616cf1d818535 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Nov 27 11:07:53 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Nov 27 14:26:31 2020 +0100 RECT members are of type LONG Change-Id: I8c0ad0878903c729be7149f81f5844a4baea7883 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106753 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx index 793b061e0e5c..9b50c7405d52 100644 --- a/vcl/win/gdi/salnativewidgets-luna.cxx +++ b/vcl/win/gdi/salnativewidgets-luna.cxx @@ -437,10 +437,10 @@ static void impl_drawAeroToolbar( HDC hDC, RECT rc, bool bHorizontal ) { if ( rc.top == 0 && bHorizontal ) { - const long GRADIENT_HEIGHT = 32; + const int GRADIENT_HEIGHT = 32; - long gradient_break = rc.top; - long gradient_bottom = rc.bottom - 1; + LONG gradient_break = rc.top; + LONG gradient_bottom = rc.bottom - 1; GRADIENT_RECT g_rect[1] = { { 0, 1 } }; // very slow gradient at the top (if we have space for that) @@ -478,7 +478,7 @@ static void impl_drawAeroToolbar( HDC hDC, RECT rc, bool bHorizontal ) // when done for the vertical ones too if ( bHorizontal ) { - long from_x, from_y, to_x, to_y; + LONG from_x, from_y, to_x, to_y; from_x = rc.left; to_x = rc.right; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits