summaryrefslogtreecommitdiff
path: root/svl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:24:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:47 +0100
commitbf057fab3c0d17bf2832c8d9fc6d34b1b859e660 (patch)
tree7792f30782655fa9f0830b7320f9ff988c598fb1 /svl/unx
parent6f06230da10c6a51c5538f1b5515b341475ea043 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I0f2f81dae91f62639e79799b1bed1b2df1fd79ab
Diffstat (limited to 'svl/unx')
-rw-r--r--svl/unx/source/svdde/ddedummy.cxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx
index b504b5fe38fd..4926df3e6319 100644
--- a/svl/unx/source/svdde/ddedummy.cxx
+++ b/svl/unx/source/svdde/ddedummy.cxx
@@ -21,22 +21,22 @@
#include <rtl/instance.hxx>
DdeData::DdeData()
- : pImp(NULL)
+ : pImp(nullptr)
{
}
DdeData::DdeData( const OUString& )
- : pImp(NULL)
+ : pImp(nullptr)
{
}
DdeData::DdeData( const DdeData& )
- : pImp(NULL)
+ : pImp(nullptr)
{
}
DdeData::DdeData( const void*, long, SotClipboardFormatId)
- : pImp(NULL)
+ : pImp(nullptr)
{
}
@@ -65,7 +65,7 @@ DdeData::operator long() const
DdeData::operator const void*() const
{
- return NULL;
+ return nullptr;
}
long DdeConnection::GetError()
@@ -74,9 +74,9 @@ long DdeConnection::GetError()
}
DdeConnection::DdeConnection( const OUString&, const OUString& )
- : pService(NULL)
- , pTopic(NULL)
- , pImp(NULL)
+ : pService(nullptr)
+ , pTopic(nullptr)
+ , pImp(nullptr)
{
}
@@ -96,7 +96,7 @@ const OUString DdeConnection::GetTopicName()
DdeTransaction::DdeTransaction( DdeConnection& rConnection, const OUString&, long )
: rDde(rConnection)
- , pName(NULL)
+ , pName(nullptr)
, nType(0)
, nId(0)
, nTime(0)
@@ -137,7 +137,7 @@ DdePoke::DdePoke( DdeConnection& rConnection, const OUString& rString, const Dde
DdeTopic::DdeTopic( const OUString& )
- : pName(NULL)
+ : pName(nullptr)
{
}
@@ -160,7 +160,7 @@ void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER const DdeItem& )
DdeData* DdeTopic::Get(SAL_UNUSED_PARAMETER SotClipboardFormatId)
{
- return NULL;
+ return nullptr;
}
bool DdeTopic::MakeItem( SAL_UNUSED_PARAMETER const OUString& )
@@ -194,9 +194,9 @@ const OUString DdeTopic::GetName() const
}
DdeService::DdeService( const OUString& )
- : pSysTopic(NULL)
- , pName(NULL)
- , pConv(NULL)
+ : pSysTopic(nullptr)
+ , pName(nullptr)
+ , pConv(nullptr)
, nStatus(0)
{
}
@@ -278,17 +278,17 @@ DdeServices& DdeService::GetServices()
}
DdeItem::DdeItem( const OUString& )
- : pName(NULL)
- , pMyTopic(NULL)
- , pImpData(NULL)
+ : pName(nullptr)
+ , pMyTopic(nullptr)
+ , pImpData(nullptr)
, nType(0)
{
}
DdeItem::DdeItem( const DdeItem& )
- : pName(NULL)
- , pMyTopic(NULL)
- , pImpData(NULL)
+ : pName(nullptr)
+ , pMyTopic(nullptr)
+ , pImpData(nullptr)
, nType(0)
{
}
@@ -313,7 +313,7 @@ DdeGetPutItem::DdeGetPutItem( const DdeItem& rItem )
DdeData* DdeGetPutItem::Get( SAL_UNUSED_PARAMETER SotClipboardFormatId )
{
- return NULL;
+ return nullptr;
}
bool DdeGetPutItem::Put( SAL_UNUSED_PARAMETER const DdeData* )