X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Fimage-loader.cpp;h=80824ac410d8a59b8802c1703b3519f710a1d805;hp=724765e29ad615623bee736cf856b70aae62dfd2;hb=783e17c94e8adc4bd624031af599922c9eb1e0c6;hpb=14caebe2b88d7e2c97749c7389deac9ac560b8a6 diff --git a/dali/internal/imaging/common/image-loader.cpp b/dali/internal/imaging/common/image-loader.cpp old mode 100755 new mode 100644 index 724765e..80824ac --- a/dali/internal/imaging/common/image-loader.cpp +++ b/dali/internal/imaging/common/image-loader.cpp @@ -32,7 +32,6 @@ #include using namespace Dali::Integration; -using namespace Dali::Internal::Platform; namespace Dali { @@ -160,10 +159,10 @@ bool GetBitmapLoaderFunctions( FILE *fp, Bitmap::Profile& profile ) { unsigned char magic[MAGIC_LENGTH]; - size_t read = InternalFile::fread(magic, sizeof(unsigned char), MAGIC_LENGTH, fp); + size_t read = fread(magic, sizeof(unsigned char), MAGIC_LENGTH, fp); // Reset to the start of the file. - if( InternalFile::fseek(fp, 0, SEEK_SET) ) + if( fseek(fp, 0, SEEK_SET) ) { DALI_LOG_ERROR("Error seeking to start of file\n"); } @@ -238,7 +237,7 @@ bool GetBitmapLoaderFunctions( FILE *fp, } // Reset to the start of the file. - if( InternalFile::fseek(fp, 0, SEEK_SET) ) + if( fseek(fp, 0, SEEK_SET) ) { DALI_LOG_ERROR("Error seeking to start of file\n"); }