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=dc99750b3607d20f23e1ea509e0c54f90116f8bc;hp=acb74f42bc11863666b3d6d71e5198d6a13cd72c;hb=de358850df203047408247a94b682597b018ec52;hpb=84e95268a60ab6e5fef013f3728b33b558c325e3 diff --git a/dali/internal/imaging/common/loader-ico.cpp b/dali/internal/imaging/common/loader-ico.cpp index acb74f4..dc99750 100755 --- 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;