From 37ed592f7106e4ba483baa6fba91a9c481048bbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 21 Mar 2008 20:11:55 +0000 Subject: [PATCH] remove needless casting (no real change) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/winpars.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 5e43cd724b..3a1aff2aab 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -427,13 +427,13 @@ void wxHtmlWinParser::DoAddText(wxChar *temp, int& templen) temp[j] = wxT(' '); } - wxHtmlCell *c = new wxHtmlWordCell(temp, *(GetDC())); + wxHtmlWordCell *c = new wxHtmlWordCell(temp, *(GetDC())); ApplyStateToCell(c); m_Container->InsertCell(c); - ((wxHtmlWordCell*)c)->SetPreviousWord(m_lastWordCell); - m_lastWordCell = (wxHtmlWordCell*)c; + c->SetPreviousWord(m_lastWordCell); + m_lastWordCell = c; } -- 2.50.0