summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/window.hxx5
-rw-r--r--vcl/inc/salframe.hxx4
2 files changed, 4 insertions, 5 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 4675d4254b30..ce93f06598a6 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_WINDOW_HXX
#define INCLUDED_VCL_WINDOW_HXX
-#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/outdev.hxx>
#include <tools/link.hxx>
@@ -851,8 +850,8 @@ public:
struct PointerState
{
- sal_uLong mnState; // the button state
- Point maPos; // mouse position in output coordinates
+ sal_Int32 mnState; // the button state
+ Point maPos; // mouse position in output coordinates
};
PointerState GetPointerState();
bool IsMouseOver() const;
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx
index f79ae07ce9a8..20eab00d7989 100644
--- a/vcl/inc/salframe.hxx
+++ b/vcl/inc/salframe.hxx
@@ -222,8 +222,8 @@ public:
// get current modifier, button mask and mouse position
struct SalPointerState
{
- sal_uLong mnState;
- Point maPos; // in frame coordinates
+ sal_Int32 mnState;
+ Point maPos; // in frame coordinates
};
virtual SalPointerState GetPointerState() = 0;