Delete checking if strlen() is 0 in ConvertWcsToMbsN()
authordahyeong.kim <dahyeong.kim@samsung.com>
Wed, 17 Apr 2013 15:09:57 +0000 (00:09 +0900)
committerdahyeong.kim <dahyeong.kim@samsung.com>
Wed, 17 Apr 2013 15:09:57 +0000 (00:09 +0900)
Change-Id: Id6f1fc776abef8d02da328aa717e9199a820e175
Signed-off-by: dahyeong.kim <dahyeong.kim@samsung.com>
src/base/utility/FBaseUtil_IcuConverter.cpp

index 38c4aa7..ae410f8 100644 (file)
@@ -208,7 +208,6 @@ ConvertWcsToMbsN(const wchar_t* pValue)
        SysTryReturn(NID_BASE_UTIL, pValue != null, null, E_INVALID_ARG, "[%s] Invalid argument is used. The pValue is null.", GetErrorMessage(E_INVALID_ARG));
 
        int len = wcslen(pValue);
-       SysTryReturn(NID_BASE_UTIL, len != 0, null, E_INVALID_ARG, "[%s] Invalid argument is used. The pValue is an empty string.", GetErrorMessage(E_INVALID_ARG));
 
        UErrorCode err = U_ZERO_ERROR;
        UConverter* pConverter = ucnv_open("UTF-8", &err);