summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginimpl.cpp4
-rw-r--r--core/pim/today/plugins/datebook/datebookpluginimpl.cpp4
-rw-r--r--core/pim/today/plugins/mail/mailpluginimpl.cpp4
-rw-r--r--core/pim/today/plugins/todolist/todopluginimpl.cpp4
4 files changed, 12 insertions, 4 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginimpl.cpp b/core/pim/today/plugins/addressbook/addresspluginimpl.cpp
index 54e620e..15cd805 100644
--- a/core/pim/today/plugins/addressbook/addresspluginimpl.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginimpl.cpp
@@ -38,3 +38,5 @@ QRESULT AddressBookPluginImpl::queryInterface( const QUuid & uuid, QUnknownInte
*iface = this, (*iface)->addRef();
- }
+ }else
+ return QS_FALSE;
+
return QS_OK;
diff --git a/core/pim/today/plugins/datebook/datebookpluginimpl.cpp b/core/pim/today/plugins/datebook/datebookpluginimpl.cpp
index 45736bb..6baffb9 100644
--- a/core/pim/today/plugins/datebook/datebookpluginimpl.cpp
+++ b/core/pim/today/plugins/datebook/datebookpluginimpl.cpp
@@ -35,3 +35,5 @@ QRESULT DatebookPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterfa
*iface = this, (*iface)->addRef();
- }
+ }else
+ return QS_FALSE;
+
return QS_OK;
diff --git a/core/pim/today/plugins/mail/mailpluginimpl.cpp b/core/pim/today/plugins/mail/mailpluginimpl.cpp
index bd57bc9..dfd3a64 100644
--- a/core/pim/today/plugins/mail/mailpluginimpl.cpp
+++ b/core/pim/today/plugins/mail/mailpluginimpl.cpp
@@ -38,3 +38,5 @@ QRESULT MailPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface *
*iface = this, (*iface)->addRef();
- }
+ }else
+ return QS_FALSE;
+
return QS_OK;
diff --git a/core/pim/today/plugins/todolist/todopluginimpl.cpp b/core/pim/today/plugins/todolist/todopluginimpl.cpp
index c64113c..639587f 100644
--- a/core/pim/today/plugins/todolist/todopluginimpl.cpp
+++ b/core/pim/today/plugins/todolist/todopluginimpl.cpp
@@ -36,3 +36,5 @@ QRESULT TodolistPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterfa
*iface = this, (*iface)->addRef();
- }
+ }else
+ return QS_FALSE;
+
return QS_OK;