Svace issues.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-font-style.cpp
index 681ffc7..b346d90 100644 (file)
@@ -100,7 +100,10 @@ void ParseFontStyleString( const std::string& style, Property::Map& map )
   {
     const TreeNode* const node = parser.GetRoot();
 
-    CreateFontStyleMap( node, map );
+    if( NULL != node )
+    {
+      CreateFontStyleMap( node, map );
+    }
   }
 }