summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid
authorzecke <zecke>2004-02-05 17:42:00 (UTC)
committer zecke <zecke>2004-02-05 17:42:00 (UTC)
commitc79bbb6696edf7539ebeda64092f3f91f65ba500 (patch) (unidiff)
treecb05c94b563d42bb27628d398dbb28beebdee46d /noncore/styles/liquid
parent4ce8201e80a0b60a8e5d9d875bf00602303d6a0b (diff)
downloadopie-c79bbb6696edf7539ebeda64092f3f91f65ba500.zip
opie-c79bbb6696edf7539ebeda64092f3f91f65ba500.tar.gz
opie-c79bbb6696edf7539ebeda64092f3f91f65ba500.tar.bz2
Janitor: remove ulong ref
Diffstat (limited to 'noncore/styles/liquid') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/plugin.cpp4
-rw-r--r--noncore/styles/liquid/plugin.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/noncore/styles/liquid/plugin.cpp b/noncore/styles/liquid/plugin.cpp
index 6813fc5..fb322a9 100644
--- a/noncore/styles/liquid/plugin.cpp
+++ b/noncore/styles/liquid/plugin.cpp
@@ -3,13 +3,13 @@
3#include "liquid.h" 3#include "liquid.h"
4#include "liquidset.h" 4#include "liquidset.h"
5#include "plugin.h" 5#include "plugin.h"
6 6
7 7
8 8
9LiquidInterface::LiquidInterface ( ) : ref ( 0 ) 9LiquidInterface::LiquidInterface ( )
10{ 10{
11 m_widget = 0; 11 m_widget = 0;
12} 12}
13 13
14LiquidInterface::~LiquidInterface ( ) 14LiquidInterface::~LiquidInterface ( )
15{ 15{
@@ -62,12 +62,14 @@ QRESULT LiquidInterface::queryInterface ( const QUuid &uuid, QUnknownInterface *
62 if ( uuid == IID_QUnknown ) 62 if ( uuid == IID_QUnknown )
63 *iface = this; 63 *iface = this;
64 else if ( uuid == IID_Style ) 64 else if ( uuid == IID_Style )
65 *iface = this; 65 *iface = this;
66 else if ( uuid == IID_StyleExtended ) 66 else if ( uuid == IID_StyleExtended )
67 *iface = this; 67 *iface = this;
68 else
69 return QS_FALSE;
68 70
69 if ( *iface ) 71 if ( *iface )
70 (*iface)-> addRef ( ); 72 (*iface)-> addRef ( );
71 73
72 return QS_OK; 74 return QS_OK;
73} 75}
diff --git a/noncore/styles/liquid/plugin.h b/noncore/styles/liquid/plugin.h
index 6a9b7ac..9188a09 100644
--- a/noncore/styles/liquid/plugin.h
+++ b/noncore/styles/liquid/plugin.h
@@ -25,10 +25,9 @@ public:
25 25
26 virtual bool accept ( ); 26 virtual bool accept ( );
27 virtual void reject ( ); 27 virtual void reject ( );
28 28
29private: 29private:
30 LiquidSettings *m_widget; 30 LiquidSettings *m_widget;
31 ulong ref;
32}; 31};
33 32
34#endif 33#endif