Skip to content

Commit

Permalink
fix compiler warnings:
Browse files Browse the repository at this point in the history
 warning C4584: 'Ime::TextService' : base-class 'ITfTextInputProcessor' is already a base-class of 'ITfTextInputProcessorEx'
 warning C4584: 'Ime::CandidateListUIElement' : base-class 'ITfUIElement' is already a base-class of 'ITfCandidateListUIElement'
 warning C4101: 'candidateSize' : unreferenced local variable
  • Loading branch information
blishs committed Oct 23, 2013
1 parent dec8b27 commit 61b6031
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion libIME/CandidateListUIElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
namespace Ime {

class CandidateListUIElement:
public ITfUIElement,
public ITfCandidateListUIElement {
public:
CandidateListUIElement(ITfContext* context);
Expand Down
1 change: 0 additions & 1 deletion libIME/CandidateWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ void CandidateWindow::paintItem(HDC hDC, int i, int x, int y) {
::SetTextColor(hDC, oldColor); // restore text color

// paint the candidate string
SIZE candidateSize;
wstring& item = items_.at(i);
textRect.left += selKeyWidth_;
textRect.right = textRect.left + textWidth_;
Expand Down
1 change: 0 additions & 1 deletion libIME/TextService.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class LangBarButton;

class TextService:
// TSF interfaces
public ITfTextInputProcessor,
public ITfTextInputProcessorEx,
// event sinks
public ITfThreadMgrEventSink,
Expand Down

0 comments on commit 61b6031

Please sign in to comment.