diff options
author | axis <qt-info@nokia.com> | 2009-07-06 07:33:00 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-07-06 07:45:02 (GMT) |
commit | 235ea35256d4ffe172c06b5a4af5e8b154f3677a (patch) | |
tree | d5339157970d915ccfa14de6430f829db4ac49c4 /src/gui/inputmethod/qcoefepinputcontext_s60.cpp | |
parent | 57af679669a1562d6c1d767b6a6d79835aa99a3a (diff) | |
download | Qt-235ea35256d4ffe172c06b5a4af5e8b154f3677a.zip Qt-235ea35256d4ffe172c06b5a4af5e8b154f3677a.tar.gz Qt-235ea35256d4ffe172c06b5a4af5e8b154f3677a.tar.bz2 |
Silenced warnings from RVCT.
Diffstat (limited to 'src/gui/inputmethod/qcoefepinputcontext_s60.cpp')
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index 9e70cff..b153080 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -629,7 +629,7 @@ void QCoeFepInputContext::GetEditorContentForFep(TDes& aEditorContent, TInt aDoc aEditorContent.Copy(qt_QString2TPtrC(text.mid(aDocumentPosition, aLengthToRetrieve))); } -void QCoeFepInputContext::GetFormatForFep(TCharFormat& aFormat, TInt aDocumentPosition) const +void QCoeFepInputContext::GetFormatForFep(TCharFormat& aFormat, TInt /* aDocumentPosition */) const { QWidget *w = focusWidget(); if (!w) @@ -641,12 +641,10 @@ void QCoeFepInputContext::GetFormatForFep(TCharFormat& aFormat, TInt aDocumentPo QString name = font.defaultFamily(); // TODO! FIXME! Should be the above. QHBufC hBufC(name); aFormat = TCharFormat(hBufC->Des(), metrics.height()); - - aDocumentPosition = w->inputMethodQuery(Qt::ImCursorPosition).toInt(); } void QCoeFepInputContext::GetScreenCoordinatesForFepL(TPoint& aLeftSideOfBaseLine, TInt& aHeight, - TInt& aAscent, TInt aDocumentPosition) const + TInt& aAscent, TInt /* aDocumentPosition */) const { QWidget *w = focusWidget(); if (!w) @@ -660,8 +658,6 @@ void QCoeFepInputContext::GetScreenCoordinatesForFepL(TPoint& aLeftSideOfBaseLin QFontMetrics metrics(font); aHeight = metrics.height(); aAscent = metrics.ascent(); - - aDocumentPosition = w->inputMethodQuery(Qt::ImCursorPosition).toInt(); } void QCoeFepInputContext::DoCommitFepInlineEditL() |