-rw-r--r-- | inputmethods/dasher/QtDasherImpl.cc | 2 | ||||
-rw-r--r-- | inputmethods/dvorak/dvorakimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/handwriting/handwritingimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/jumpx/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/keyboard/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/kjumpx/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/multikey/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/pickboard/pickboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/unikeyboard/unikeyboardimpl.cpp | 2 |
9 files changed, 18 insertions, 0 deletions
diff --git a/inputmethods/dasher/QtDasherImpl.cc b/inputmethods/dasher/QtDasherImpl.cc index 55c21b1..9513802 100644 --- a/inputmethods/dasher/QtDasherImpl.cc +++ b/inputmethods/dasher/QtDasherImpl.cc | |||
@@ -70,8 +70,10 @@ QRESULT QtDasherImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
70 | if ( uuid == IID_QUnknown ) | 70 | if ( uuid == IID_QUnknown ) |
71 | *iface = this; | 71 | *iface = this; |
72 | else if ( uuid == IID_InputMethod ) | 72 | else if ( uuid == IID_InputMethod ) |
73 | *iface = this; | 73 | *iface = this; |
74 | else | ||
75 | return QS_FALSE; | ||
74 | 76 | ||
75 | if ( *iface ) | 77 | if ( *iface ) |
76 | (*iface)->addRef(); | 78 | (*iface)->addRef(); |
77 | return QS_OK; | 79 | return QS_OK; |
diff --git a/inputmethods/dvorak/dvorakimpl.cpp b/inputmethods/dvorak/dvorakimpl.cpp index 8050ce1..9e9fed9 100644 --- a/inputmethods/dvorak/dvorakimpl.cpp +++ b/inputmethods/dvorak/dvorakimpl.cpp | |||
@@ -116,8 +116,10 @@ QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
116 | if ( uuid == IID_QUnknown ) | 116 | if ( uuid == IID_QUnknown ) |
117 | *iface = this; | 117 | *iface = this; |
118 | else if ( uuid == IID_InputMethod ) | 118 | else if ( uuid == IID_InputMethod ) |
119 | *iface = this; | 119 | *iface = this; |
120 | else | ||
121 | return QS_FALSE; | ||
120 | 122 | ||
121 | if ( *iface ) | 123 | if ( *iface ) |
122 | (*iface)->addRef(); | 124 | (*iface)->addRef(); |
123 | return QS_OK; | 125 | return QS_OK; |
diff --git a/inputmethods/handwriting/handwritingimpl.cpp b/inputmethods/handwriting/handwritingimpl.cpp index c39e1aa..22e2058 100644 --- a/inputmethods/handwriting/handwritingimpl.cpp +++ b/inputmethods/handwriting/handwritingimpl.cpp | |||
@@ -99,8 +99,10 @@ QRESULT HandwritingImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** | |||
99 | if ( uuid == IID_QUnknown ) | 99 | if ( uuid == IID_QUnknown ) |
100 | *iface = this; | 100 | *iface = this; |
101 | else if ( uuid == IID_InputMethod ) | 101 | else if ( uuid == IID_InputMethod ) |
102 | *iface = this; | 102 | *iface = this; |
103 | else | ||
104 | return QS_FALSE; | ||
103 | 105 | ||
104 | if ( *iface ) | 106 | if ( *iface ) |
105 | (*iface)->addRef(); | 107 | (*iface)->addRef(); |
106 | return QS_OK; | 108 | return QS_OK; |
diff --git a/inputmethods/jumpx/keyboardimpl.cpp b/inputmethods/jumpx/keyboardimpl.cpp index 34c227f..e75dd5f 100644 --- a/inputmethods/jumpx/keyboardimpl.cpp +++ b/inputmethods/jumpx/keyboardimpl.cpp | |||
@@ -83,8 +83,10 @@ QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
83 | if ( uuid == IID_QUnknown ) | 83 | if ( uuid == IID_QUnknown ) |
84 | *iface = this; | 84 | *iface = this; |
85 | else if ( uuid == IID_InputMethod ) | 85 | else if ( uuid == IID_InputMethod ) |
86 | *iface = this; | 86 | *iface = this; |
87 | else | ||
88 | return QS_FALSE; | ||
87 | 89 | ||
88 | if ( *iface ) | 90 | if ( *iface ) |
89 | (*iface)->addRef(); | 91 | (*iface)->addRef(); |
90 | return QS_OK; | 92 | return QS_OK; |
diff --git a/inputmethods/keyboard/keyboardimpl.cpp b/inputmethods/keyboard/keyboardimpl.cpp index 3c77fe6..701d35f 100644 --- a/inputmethods/keyboard/keyboardimpl.cpp +++ b/inputmethods/keyboard/keyboardimpl.cpp | |||
@@ -114,8 +114,10 @@ QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
114 | if ( uuid == IID_QUnknown ) | 114 | if ( uuid == IID_QUnknown ) |
115 | *iface = this; | 115 | *iface = this; |
116 | else if ( uuid == IID_InputMethod ) | 116 | else if ( uuid == IID_InputMethod ) |
117 | *iface = this; | 117 | *iface = this; |
118 | else | ||
119 | return QS_FALSE; | ||
118 | 120 | ||
119 | if ( *iface ) | 121 | if ( *iface ) |
120 | (*iface)->addRef(); | 122 | (*iface)->addRef(); |
121 | return QS_OK; | 123 | return QS_OK; |
diff --git a/inputmethods/kjumpx/keyboardimpl.cpp b/inputmethods/kjumpx/keyboardimpl.cpp index 976d816..54fe36e 100644 --- a/inputmethods/kjumpx/keyboardimpl.cpp +++ b/inputmethods/kjumpx/keyboardimpl.cpp | |||
@@ -83,8 +83,10 @@ QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
83 | if ( uuid == IID_QUnknown ) | 83 | if ( uuid == IID_QUnknown ) |
84 | *iface = this; | 84 | *iface = this; |
85 | else if ( uuid == IID_InputMethod ) | 85 | else if ( uuid == IID_InputMethod ) |
86 | *iface = this; | 86 | *iface = this; |
87 | else | ||
88 | return QS_FALSE; | ||
87 | 89 | ||
88 | if ( *iface ) | 90 | if ( *iface ) |
89 | (*iface)->addRef(); | 91 | (*iface)->addRef(); |
90 | return QS_OK; | 92 | return QS_OK; |
diff --git a/inputmethods/multikey/keyboardimpl.cpp b/inputmethods/multikey/keyboardimpl.cpp index 4cfbcd5..b7908d9 100644 --- a/inputmethods/multikey/keyboardimpl.cpp +++ b/inputmethods/multikey/keyboardimpl.cpp | |||
@@ -93,8 +93,10 @@ QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
93 | if ( uuid == IID_QUnknown ) | 93 | if ( uuid == IID_QUnknown ) |
94 | *iface = this; | 94 | *iface = this; |
95 | else if ( uuid == IID_InputMethod ) | 95 | else if ( uuid == IID_InputMethod ) |
96 | *iface = this; | 96 | *iface = this; |
97 | else | ||
98 | return QS_FALSE; | ||
97 | 99 | ||
98 | if ( *iface ) | 100 | if ( *iface ) |
99 | (*iface)->addRef(); | 101 | (*iface)->addRef(); |
100 | return QS_OK; | 102 | return QS_OK; |
diff --git a/inputmethods/pickboard/pickboardimpl.cpp b/inputmethods/pickboard/pickboardimpl.cpp index a4e8f02..8f449cd 100644 --- a/inputmethods/pickboard/pickboardimpl.cpp +++ b/inputmethods/pickboard/pickboardimpl.cpp | |||
@@ -86,8 +86,10 @@ QRESULT PickboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **if | |||
86 | if ( uuid == IID_QUnknown ) | 86 | if ( uuid == IID_QUnknown ) |
87 | *iface = this; | 87 | *iface = this; |
88 | else if ( uuid == IID_InputMethod ) | 88 | else if ( uuid == IID_InputMethod ) |
89 | *iface = this; | 89 | *iface = this; |
90 | else | ||
91 | return QS_FALSE; | ||
90 | 92 | ||
91 | if ( *iface ) | 93 | if ( *iface ) |
92 | (*iface)->addRef(); | 94 | (*iface)->addRef(); |
93 | return QS_OK; | 95 | return QS_OK; |
diff --git a/inputmethods/unikeyboard/unikeyboardimpl.cpp b/inputmethods/unikeyboard/unikeyboardimpl.cpp index fe601e0..e7fc00e 100644 --- a/inputmethods/unikeyboard/unikeyboardimpl.cpp +++ b/inputmethods/unikeyboard/unikeyboardimpl.cpp | |||
@@ -90,8 +90,10 @@ QRESULT UniKeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** | |||
90 | if ( uuid == IID_QUnknown ) | 90 | if ( uuid == IID_QUnknown ) |
91 | *iface = this; | 91 | *iface = this; |
92 | else if ( uuid == IID_InputMethod ) | 92 | else if ( uuid == IID_InputMethod ) |
93 | *iface = this; | 93 | *iface = this; |
94 | else | ||
95 | return QS_FALSE; | ||
94 | 96 | ||
95 | if ( *iface ) | 97 | if ( *iface ) |
96 | (*iface)->addRef(); | 98 | (*iface)->addRef(); |
97 | return QS_OK; | 99 | return QS_OK; |