Change-Id: I3f912024ba53d612af0a41141b4afa64c79d7ad1
bool valid = true;
Vector4 controlPoints;
Property::Array *array = value.GetArray();
- if( array->Count() >= 4 )
+ if( array && array->Count() >= 4 )
{
for( size_t vecIdx = 0; vecIdx < 4; ++vecIdx )
{
#define __DALI_TOOLKIT_ITEM_LAYOUT_H__
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
ItemRange& operator=(const ItemRange& range)
{
- begin = range.begin;
- end = range.end;
+ if( this != &range )
+ {
+ begin = range.begin;
+ end = range.end;
+ }
return *this;
}