summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-10 13:19:14 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-10 14:03:40 +0200
commit4e41227dd6af52ec562d10efcb365defba6bd36e (patch)
tree78126f91c09616eeddafcbdda87fed05e606a6a4 /svl
parente9289dbde26cd89b7e5bf54afccd06fc01dabdde (diff)
mingw64: change Link class to use sal_IntPtr instead of long
Change-Id: I2b78c7b714ff064f2f1b8a8eb161e5e2ae121eee
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddeimp.hxx2
-rw-r--r--svl/source/svdde/ddesvr.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/svdde/ddeimp.hxx b/svl/source/svdde/ddeimp.hxx
index aea1b892887a..21307ff08f6e 100644
--- a/svl/source/svdde/ddeimp.hxx
+++ b/svl/source/svdde/ddeimp.hxx
@@ -119,7 +119,7 @@ public:
sal_uInt16 nRefCount;
std::vector<DdeConnection*> aConnections;
// Server
- long hCurConvSvr;
+ sal_IntPtr hCurConvSvr;
DWORD hDdeInstSvr;
short nInstanceSvr;
DdeServices* pServicesSvr;
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index d4b8aeed43a2..eaafebb0afb0 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -707,21 +707,21 @@ void DdeTopic::NotifyClient( const String& rItem )
// --- DdeTopic::Connect() -----------------------------------------
-void DdeTopic::Connect( long nId )
+void DdeTopic::Connect( sal_IntPtr nId )
{
aConnectLink.Call( (void*)nId );
}
// --- DdeTopic::Disconnect() --------------------------------------
-void DdeTopic::Disconnect( long nId )
+void DdeTopic::Disconnect( sal_IntPtr nId )
{
aDisconnectLink.Call( (void*)nId );
}
// --- DdeTopic::_Disconnect() --------------------------------------
-void DdeTopic::_Disconnect( long nId )
+void DdeTopic::_Disconnect( sal_IntPtr nId )
{
std::vector<DdeItem*>::iterator iter;
for (iter = aItems.begin(); iter != aItems.end(); ++iter)
@@ -732,7 +732,7 @@ void DdeTopic::_Disconnect( long nId )
// --- DdeTopic::Get() ---------------------------------------------
-DdeData* DdeTopic::Get( sal_uLong nFmt )
+DdeData* DdeTopic::Get( sal_uIntPtr nFmt )
{
if ( aGetLink.IsSet() )
return (DdeData*)aGetLink.Call( (void*)nFmt );