X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Floader-ico.cpp;h=e8daa077b6bf5d8d491720b1effd748621a98ee2;hp=bd65cd59f7aecaed3e054674cb33daed9759abec;hb=783e17c94e8adc4bd624031af599922c9eb1e0c6;hpb=14caebe2b88d7e2c97749c7389deac9ac560b8a6 diff --git a/dali/internal/imaging/common/loader-ico.cpp b/dali/internal/imaging/common/loader-ico.cpp old mode 100755 new mode 100644 index bd65cd5..e8daa07 --- a/dali/internal/imaging/common/loader-ico.cpp +++ b/dali/internal/imaging/common/loader-ico.cpp @@ -58,10 +58,6 @@ #include #include -#include - -using namespace Dali::Internal::Platform; - namespace Dali { @@ -178,13 +174,13 @@ bool LoadIcoHeaderHelper( FILE* fp, unsigned short word; unsigned char byte; - if( InternalFile::fseek(fp,0,SEEK_END) ) + if( fseek(fp,0,SEEK_END) ) { DALI_LOG_ERROR("Error seeking ICO data\n"); return false; } - long positionIndicator = InternalFile::ftell(fp); + long positionIndicator = ftell(fp); fsize = 0u; if( positionIndicator > -1L ) @@ -197,7 +193,7 @@ bool LoadIcoHeaderHelper( FILE* fp, return false; } - if( InternalFile::fseek(fp, 0, SEEK_SET) ) + if( fseek(fp, 0, SEEK_SET) ) { DALI_LOG_ERROR("Error seeking ICO data\n"); return false; @@ -209,7 +205,7 @@ bool LoadIcoHeaderHelper( FILE* fp, } map.Resize(fsize); - if(InternalFile::fread(&map[0], 1, fsize, fp) != fsize) + if(fread(&map[0], 1, fsize, fp) != fsize) { DALI_LOG_WARNING("image file read opeation error!\n"); return false;