summaryrefslogtreecommitdiff
path: root/svl/source/svdde
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-13 15:53:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-13 15:58:34 +0000
commitacddd09bc2e635a63c3d924eec6026c5254cd576 (patch)
tree66c6083c5b43a2e86cc60b1cff3ea98588e1de18 /svl/source/svdde
parentf1c162967f032fcc5e4859f67c5b614c5dd19642 (diff)
WaE: NULL vs 0 with mingw
Diffstat (limited to 'svl/source/svdde')
-rw-r--r--svl/source/svdde/ddecli.cxx2
-rw-r--r--svl/source/svdde/ddesvr.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx
index fba0c250d665..fd7b09c6d7fa 100644
--- a/svl/source/svdde/ddecli.cxx
+++ b/svl/source/svdde/ddecli.cxx
@@ -211,7 +211,7 @@ DdeConnection::~DdeConnection()
{
if( DdeUninitialize( pInst->hDdeInstCli ) )
{
- pInst->hDdeInstCli = NULL;
+ pInst->hDdeInstCli = 0;
if( pInst->nRefCount == 0 )
ImpDeinitInstData();
}
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 916823c269df..d47a6c0a33ba 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -290,7 +290,7 @@ found:
else
bRes = pTopic->Put( &d );
}
- pInst->hCurConvSvr = NULL;
+ pInst->hCurConvSvr = 0;
if ( bRes )
return (HDDEDATA)DDE_FACK;
else
@@ -332,7 +332,7 @@ found:
if (pItem)
{
pItem->IncMonitor( (long)hConv );
- pInst->hCurConvSvr = NULL;
+ pInst->hCurConvSvr = 0;
}
}
return (HDDEDATA)sal_True;
@@ -341,7 +341,7 @@ found:
pItem->DecMonitor( (long)hConv );
if( !pItem->pImpData )
pTopic->StopAdviseLoop();
- pInst->hCurConvSvr = NULL;
+ pInst->hCurConvSvr = 0;
return (HDDEDATA)sal_True;
case XTYP_EXECUTE:
@@ -359,7 +359,7 @@ found:
else
bRes = pTopic->Execute( &aName );
}
- pInst->hCurConvSvr = NULL;
+ pInst->hCurConvSvr = 0;
if ( bRes )
return (HDDEDATA)DDE_FACK;
else
@@ -513,7 +513,7 @@ DdeService::~DdeService()
{
if( DdeUninitialize( pInst->hDdeInstSvr ) )
{
- pInst->hDdeInstSvr = NULL;
+ pInst->hDdeInstSvr = 0;
delete pInst->pServicesSvr;
pInst->pServicesSvr = NULL;
if( pInst->nRefCount == 0)