contentstorage/caclient/src/cahandlerproxy.cpp
changeset 99 7aaf39b772ac
parent 98 d2f833ab7940
child 116 305818acdca4
--- a/contentstorage/caclient/src/cahandlerproxy.cpp	Fri Jun 11 16:13:51 2010 +0300
+++ b/contentstorage/caclient/src/cahandlerproxy.cpp	Thu Jun 24 16:18:29 2010 +0300
@@ -55,14 +55,13 @@
   \retval KErrNone on succes, error code otherwise.
   \sa e32err.h for KErrNone definition.
 */
-ErrorCode CaHandlerProxy::execute(const CaEntry &entry, const QString &commandName)
+int CaHandlerProxy::execute(const CaEntry &entry, const QString &commandName)
 {
     CaHandler *const handler = getHandler(entry, commandName);
-    ErrorCode result = NotFoundErrorCode;
+    int result = -1;
 
     if (handler) {
-            result = CaObjectAdapter::convertErrorCode(
-                handler->execute(entry, commandName));
+            result = handler->execute(entry, commandName);
     }
     return result;
 }