summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/ddefld.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:53 +0100
commit01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch)
treeb8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/source/core/fields/ddefld.cxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/core/fields/ddefld.cxx')
-rw-r--r--sw/source/core/fields/ddefld.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx
index 5a1b89dee044..ead6558aaf89 100644
--- a/sw/source/core/fields/ddefld.cxx
+++ b/sw/source/core/fields/ddefld.cxx
@@ -120,7 +120,7 @@ public:
else if( pSh )
pSh->StartAction();
}
- pLast->ModifyNotification( 0, &aUpdateDDE );
+ pLast->ModifyNotification( nullptr, &aUpdateDDE );
bCallModify = true;
}
}
@@ -168,7 +168,7 @@ void SwIntrnlRefLink::Closed()
const SwNode* SwIntrnlRefLink::GetAnchor() const
{
// here, any anchor of the normal NodesArray should be sufficient
- const SwNode* pNd = 0;
+ const SwNode* pNd = nullptr;
SwIterator<SwClient,SwFieldType> aIter(rFieldType);
for(SwClient* pLast = aIter.First(); pLast; pLast = aIter.Next())
{
@@ -184,7 +184,7 @@ const SwNode* SwIntrnlRefLink::GetAnchor() const
if( pNd && &rFieldType.GetDoc()->GetNodes() == &pNd->GetNodes() )
break;
- pNd = 0;
+ pNd = nullptr;
}
return pNd;
}
@@ -230,7 +230,7 @@ bool SwIntrnlRefLink::IsInRange( sal_uLong nSttNd, sal_uLong nEndNd,
SwDDEFieldType::SwDDEFieldType(const OUString& rName,
const OUString& rCmd, SfxLinkUpdateMode nUpdateType )
: SwFieldType( RES_DDEFLD ),
- aName( rName ), pDoc( 0 ), nRefCnt( 0 )
+ aName( rName ), pDoc( nullptr ), nRefCnt( 0 )
{
bCRLFFlag = bDeleted = false;
refLink = new SwIntrnlRefLink( *this, nUpdateType, SotClipboardFormatId::STRING );