summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
commitfb8a3fac5d448451794804a7470be45fa14da453 (patch)
tree110395d7cf3b7ad304e34a007ea597263adcfad8 /include/svx
parentb8ecfd83bac98ea58a435c59856da8fd94f5c6d9 (diff)
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdobj.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index e14d1d306c2f..a76cb712915a 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -1020,7 +1020,7 @@ template< typename T > T* SdrObject::CloneHelper() const
{
OSL_ASSERT( typeid( T ) == typeid( *this ));
T* pObj = dynamic_cast< T* >( SdrObjFactory::MakeNewObject(GetObjInventor(),GetObjIdentifier(),nullptr));
- if (pObj!=NULL)
+ if (pObj!=nullptr)
*pObj=*static_cast< const T* >( this );
return pObj;
}