diff options
author | hs321.lee <hs321.lee@samsung.com> | 2013-07-17 00:20:46 +0900 |
---|---|---|
committer | hs321.lee <hs321.lee@samsung.com> | 2013-07-17 00:20:52 +0900 |
commit | b7fd12f69738cd081111f73953c0c03afb11f95d (patch) | |
tree | 527971df7044b03bf8e31f26a412d10678176ac3 | |
parent | 89e65b7efd7f1089e3a9c456e796f31b683b18c8 (diff) | |
download | social-b7fd12f69738cd081111f73953c0c03afb11f95d.tar.gz social-b7fd12f69738cd081111f73953c0c03afb11f95d.tar.bz2 social-b7fd12f69738cd081111f73953c0c03afb11f95d.zip |
Fix for CompatTC Fail
Change-Id: Icddd021aba92ed0ea887359f069099abee0972b4
Signed-off-by: hs321.lee <hs321.lee@samsung.com>
-rw-r--r-- | src/FSclReminder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |