use modern construct 'nullptr' instead of 'NULL' or '0'
[platform/core/uifw/dali-core.git] / dali / internal / event / common / property-notification-impl.cpp
index ab1260e..15515b0 100644 (file)
@@ -62,13 +62,13 @@ PropertyNotification::PropertyNotification( UpdateManager& updateManager,
                                             int componentIndex,
                                             const Dali::PropertyCondition& condition )
 : mUpdateManager( updateManager ),
-  mPropertyNotification( NULL ),
+  mPropertyNotification( nullptr ),
   mPropertyNotificationManager( propertyNotificationManager ),
   mObjectPropertyIndex( target.propertyIndex ),
   mPropertyType( Property::NONE ),
   mComponentIndex( componentIndex ),
   mCondition( condition ),
-  mNotifyMode( Dali::PropertyNotification::NotifyOnTrue ),
+  mNotifyMode( Dali::PropertyNotification::NOTIFY_ON_TRUE ),
   mNotifyResult( false ),
   mCompare( false )
 {
@@ -229,11 +229,11 @@ void PropertyNotification::CreateSceneObject()
 
 void PropertyNotification::DestroySceneObject()
 {
-  if ( mPropertyNotification != NULL )
+  if ( mPropertyNotification != nullptr )
   {
     // Remove PropertyNotification using a message to the update manager
     RemovePropertyNotificationMessage( mUpdateManager, *mPropertyNotification );
-    mPropertyNotification = NULL;
+    mPropertyNotification = nullptr;
   }
 }