--- a/contentstorage/caclient/src/caservice.cpp Fri Mar 19 09:35:23 2010 +0200
+++ b/contentstorage/caclient/src/caservice.cpp Fri Apr 16 15:16:09 2010 +0300
@@ -830,14 +830,13 @@
bool CaService::executeCommand(int entryId, const QString &command) const
{
bool result = false;
-
+
CaEntry *const temporaryEntry = getEntry(entryId);
-
+
if (temporaryEntry != NULL) {
result = executeCommand(*temporaryEntry, command);
delete temporaryEntry;
}
-
return result;
}
@@ -935,7 +934,7 @@
\param servicePublic pointer to public service
*/
CaServicePrivate::CaServicePrivate(CaService *servicePublic) :
- m_q(servicePublic), mProxy(new CaClientProxy())
+ m_q(servicePublic), mProxy(new CaClientProxy)
{
const ErrorCode connectionResult = mProxy->connect();