author | alwin <alwin> | 2005-03-16 13:13:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-16 13:13:24 (UTC) |
commit | 4fef85eb55dbef5f8546caee084e4f0ce51081d3 (patch) (side-by-side diff) | |
tree | 662b1d314ba4b8695d92d277ba5f4a96891e7b34 | |
parent | f366c924a105ad41e974af959b23b0d30c603234 (diff) | |
download | opie-4fef85eb55dbef5f8546caee084e4f0ce51081d3.zip opie-4fef85eb55dbef5f8546caee084e4f0ce51081d3.tar.gz opie-4fef85eb55dbef5f8546caee084e4f0ce51081d3.tar.bz2 |
ok, removed last errors (i hope)
-rw-r--r-- | libopie2/opiepim/ui/oholidaypluginif.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libopie2/opiepim/ui/oholidaypluginif.h b/libopie2/opiepim/ui/oholidaypluginif.h index 874e5a3..99ed563 100644 --- a/libopie2/opiepim/ui/oholidaypluginif.h +++ b/libopie2/opiepim/ui/oholidaypluginif.h @@ -1,13 +1,12 @@ #ifndef _O_HOLIDAY_PLUGIN_IF_H #define _O_HOLIDAY_PLUGIN_IF_H #include <opie2/odebug.h> #include <qpe/qcom.h> -#include <qpe/quuid.h> #ifndef QT_NO_COMPONENT //"b981b4e9-6d5d-4ee0-a193-f8d0e443809b" #define IID_HOLIDAY_PLUGIN QUuid( 0xb981b4e9, 0x6d5d, 0x4ee0, 0xa1, 0x93,0xf8, 0xd0, 0xe4, 0x43, 0x80, 0x9b) #endif namespace Opie { namespace Datebook { @@ -32,17 +31,17 @@ public: QRESULT queryInterface( const QUuid& uuid, QUnknownInterface** iface ) { odebug << "HolidayPluginWrapper::queryInterface()" << oendl; *iface = 0; if (uuid == IID_HOLIDAY_PLUGIN || uuid == IID_QUnknown) { *iface = this; } else { return QS_FALSE; } - if (*iface) *iface->addRef(); + if (*iface) (*iface)->addRef(); return QS_OK; } // from qcom Q_REFCOUNT virtual T*plugin() { if (!_plugin) {_plugin = new T();} |