- Missing break in switch statement at text-effects-style.cpp
- Prevention of Null pointer dereference at builder-impl.cpp
Change-Id: I1fcf28fbc1aff8c4b5e707f2bf79c6247112bae5
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
case Property::MAP:
{
Property::Map* map = child.GetMap();
case Property::MAP:
{
Property::Map* map = child.GetMap();
- for( Property::Map::SizeType i=0; i < map->Count(); ++i )
- Property::Value& child = map->GetValue(i);
- ConvertChildValue(mappingRoot, keyStack, child);
+ for( Property::Map::SizeType i=0; i < map->Count(); ++i )
+ {
+ Property::Value& child = map->GetValue(i);
+ ConvertChildValue(mappingRoot, keyStack, child);
+ }
case Property::ARRAY:
{
Property::Array* array = child.GetArray();
case Property::ARRAY:
{
Property::Array* array = child.GetArray();
- for( Property::Array::SizeType i=0; i < array->Count(); ++i )
- Property::Value& child = array->GetElementAt(i);
- ConvertChildValue(mappingRoot, keyStack, child);
+ for( Property::Array::SizeType i=0; i < array->Count(); ++i )
+ {
+ Property::Value& child = array->GetElementAt(i);
+ ConvertChildValue(mappingRoot, keyStack, child);
+ }
if( parser.Parse( property ) )
{
const TreeNode* const node = parser.GetRoot();
if( parser.Parse( property ) )
{
const TreeNode* const node = parser.GetRoot();
-
- CreatePropertyMap( node, map );
+ if( node )
+ {
+ CreatePropertyMap( node, map );
+ }
controller->SetUnderlineHeight( thickness );
update = true;
}
controller->SetUnderlineHeight( thickness );
update = true;
}
}
case EffectStyle::INPUT:
{
}
case EffectStyle::INPUT:
{
controller->SetShadowOffset( offset );
update = true;
}
controller->SetShadowOffset( offset );
update = true;
}
}
case EffectStyle::INPUT:
{
}
case EffectStyle::INPUT:
{