summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx2
-rw-r--r--vcl/source/window/winproc.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index d3c56f3d1df1..4978659b67eb 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -599,7 +599,7 @@ bool Button::set_property(const OString &rKey, const OString &rValue)
return true;
}
-long Button::dispatchCommandHandler(void *, void *pCaller)
+sal_IntPtr Button::dispatchCommandHandler(void *, void *pCaller)
{
const Button *pButton = reinterpret_cast<Button*>(pCaller);
if (pButton == NULL)
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 662b11588635..548ce814f5a8 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -253,7 +253,7 @@ struct ContextMenuEvent
Point aChildPos;
};
-static long ContextMenuEventLink( void* pCEvent, void* )
+static sal_IntPtr ContextMenuEventLink( void* pCEvent, void* )
{
ContextMenuEvent* pEv = (ContextMenuEvent*)pCEvent;
@@ -1833,7 +1833,7 @@ struct DelayedCloseEvent
ImplDelData aDelData;
};
-static long DelayedCloseEventLink( void* pCEvent, void* )
+static sal_IntPtr DelayedCloseEventLink( void* pCEvent, void* )
{
DelayedCloseEvent* pEv = (DelayedCloseEvent*)pCEvent;