X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-helper-functions.cpp;h=6c133ae839d4bef4f08615a868f16af38d8c175c;hb=b05a852e155e887cb0e9e1018205c57bfbbfa334;hp=76d9a6adb1e7e5a4cb2cd76a243b0348f85c283f;hpb=3baabe4bfe7b0201a990f03e24b7bed5ed049c29;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/markup-processor-helper-functions.cpp b/dali-toolkit/internal/text/markup-processor-helper-functions.cpp old mode 100644 new mode 100755 index 76d9a6a..6c133ae --- a/dali-toolkit/internal/text/markup-processor-helper-functions.cpp +++ b/dali-toolkit/internal/text/markup-processor-helper-functions.cpp @@ -92,6 +92,11 @@ void JumpToWhiteSpace( const char*& stringBuffer, for( ; ( WHITE_SPACE != *stringBuffer ) && ( stringBuffer < stringEndBuffer ); ++stringBuffer ); } +unsigned int StringToUint( const char* const uintStr ) +{ + return static_cast( strtoul( uintStr, NULL, 10 ) ); +} + unsigned int StringToHex( const char* const uintStr ) { return static_cast( strtoul( uintStr, NULL, 16 ) );