From: hs321.lee Date: Tue, 16 Jul 2013 15:20:46 +0000 (+0900) Subject: Fix for CompatTC Fail X-Git-Tag: submit/tizen_2.2/20130716.180501 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=refs%2Ftags%2Fsubmit%2Ftizen_2.2%2F20130716.180501;p=framework%2Fosp%2Fsocial.git Fix for CompatTC Fail Change-Id: Icddd021aba92ed0ea887359f069099abee0972b4 Signed-off-by: hs321.lee --- diff --git a/src/FSclReminder.cpp b/src/FSclReminder.cpp index 65da1e1..897b3cc 100644 --- a/src/FSclReminder.cpp +++ b/src/FSclReminder.cpp @@ -172,6 +172,9 @@ Reminder::SetSoundFile(const String& filePath) } else { + SysTryReturnResult(NID_SCL, File::IsFileExist(filePath), E_INVALID_ARG + , "Invalid argument is used. The length of the filePath exceeds the maximum length or the file path is invalid or the file does not exist."); + result r = E_SUCCESS; String tmpFilePath; @@ -185,9 +188,6 @@ Reminder::SetSoundFile(const String& filePath) tmpFilePath = filePath; } - SysTryReturnResult(NID_SCL, File::IsFileExist(tmpFilePath), E_INVALID_ARG - , "Invalid argument is used. The length of the filePath exceeds the maximum length or the file path is invalid or the file does not exist."); - __soundFilePath = tmpFilePath; }