[Tizen] Fix Underline property issue 41/199541/2
authorhuiyu.eun <huiyu.eun@samsung.com>
Tue, 12 Feb 2019 10:13:30 +0000 (19:13 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Wed, 13 Feb 2019 01:59:56 +0000 (10:59 +0900)
if an underline is not set a string, property map is set to value.

Change-Id: I3036d036d7178d59d26e6608f01c3aa69cf562f8
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
dali-toolkit/internal/text/text-effects-style.cpp

index f65655b..10d9da4 100755 (executable)
@@ -358,16 +358,9 @@ void GetUnderlineProperties( ControllerPtr controller, Property::Value& value, E
         {
           Property::Map map;
 
-          const std::string enabledStr = enabled ? TRUE_TOKEN : FALSE_TOKEN;
-          map.Insert( ENABLE_KEY, enabledStr );
-
-          std::string colorStr;
-          Vector4ToColorString( color, colorStr );
-          map.Insert( COLOR_KEY, colorStr );
-
-          std::string heightStr;
-          FloatToString( height, heightStr );
-          map.Insert( HEIGHT_KEY, heightStr );
+          map.Insert( ENABLE_KEY, enabled );
+          map.Insert( COLOR_KEY, color );
+          map.Insert( HEIGHT_KEY, height );
 
           value = map;
         }