summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/sdrhittesthelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:50 +0100
commit6cd7bf2043146a630925a2e49336f02c802f707a (patch)
tree786cecd8ab993e25cda497d45b68007050c30d61 /svx/source/svdraw/sdrhittesthelper.cxx
parent28f4bee7bd7378141d8569186162e1a3166eb012 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/svdraw/sdrhittesthelper.cxx')
-rw-r--r--svx/source/svdraw/sdrhittesthelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/sdrhittesthelper.cxx b/svx/source/svdraw/sdrhittesthelper.cxx
index dab3e14e2b3e..4ea659954b60 100644
--- a/svx/source/svdraw/sdrhittesthelper.cxx
+++ b/svx/source/svdraw/sdrhittesthelper.cxx
@@ -41,7 +41,7 @@ SdrObject* SdrObjectPrimitiveHit(
const SetOfByte* pVisiLayer,
bool bTextOnly)
{
- SdrObject* pResult = 0;
+ SdrObject* pResult = nullptr;
if(rObject.GetSubList() && rObject.GetSubList()->GetObjCount())
{
@@ -100,7 +100,7 @@ SdrObject* SdrObjListPrimitiveHit(
bool bTextOnly)
{
size_t nObjNum(rList.GetObjCount());
- SdrObject* pRetval = 0;
+ SdrObject* pRetval = nullptr;
while(!pRetval && nObjNum > 0)
{