summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-27 11:07:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-27 14:26:31 +0100
commit4ca0a15af2a1bd9386f5a0d93e9616cf1d818535 (patch)
tree24c97dc6c743cd1ce9ca0d13c6b047cfa31e036d /vcl/win
parent25aad15042f45682211ab318dc0e2c004d61c72c (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/gdi/salnativewidgets-luna.cxx8
1 files changed, 4 insertions, 4 deletions
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;