Diffstat (limited to 'inputmethods/handwriting/handwritingimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/handwriting/handwritingimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
@@ -97,12 +97,14 @@ QRESULT HandwritingImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** | |||
97 | { | 97 | { |
98 | *iface = 0; | 98 | *iface = 0; |
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; |
107 | } | 109 | } |
108 | 110 | ||