From b7fd12f69738cd081111f73953c0c03afb11f95d Mon Sep 17 00:00:00 2001 From: "hs321.lee" Date: Wed, 17 Jul 2013 00:20:46 +0900 Subject: [PATCH] Fix for CompatTC Fail Change-Id: Icddd021aba92ed0ea887359f069099abee0972b4 Signed-off-by: hs321.lee --- src/FSclReminder.cpp | 6 +++--- 1 file 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; } -- 2.7.4