richedit: Removed unused hwndEdit variable for the RTF parser.

There is no reason for the rich text format parser to need a handle to
the window, and even if there were it has a handle to the editor which
contains a handle to the window.  It is better to remove this
considering we need to cut down on the use of window handles to
implement windowless richedit controls.
This commit is contained in:
Dylan Smith 2008-12-15 04:31:52 -05:00 committed by Alexandre Julliard
parent 8ab0570d02
commit 7e94a230e1
2 changed files with 0 additions and 4 deletions

View File

@ -1470,7 +1470,6 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
memset(&parser, 0, sizeof parser);
RTFSetEditStream(&parser, &inStream);
parser.rtfFormat = format&(SF_TEXT|SF_RTF);
parser.hwndEdit = editor->hWnd;
parser.editor = editor;
parser.style = style;
WriterInit(&parser);

View File

@ -1157,9 +1157,6 @@ struct _RTF_Info {
ME_InStream *stream;
/* edit window to output to */
HWND hwndEdit;
ME_TextEditor *editor;
ME_Style *style;