contentstorage/caclient/src/cahandlerproxy.cpp
changeset 104 9b022b1f357c
parent 103 b99b84bcd2d1
child 116 305818acdca4
--- a/contentstorage/caclient/src/cahandlerproxy.cpp	Wed Jun 23 18:33:40 2010 +0300
+++ b/contentstorage/caclient/src/cahandlerproxy.cpp	Tue Jul 06 14:37:10 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;
 }