Commit 3903a110 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Removed unused ME_Document structure.

The ME_TextBuffer structure is what is used to store the document (as a linked list), so the ME_Document structure isn't being used. There was also a document pointer in the ME_Paragraph structure that was also unused, so I removed it because it is probably related to this used structure.
parent 32064cb5
...@@ -164,12 +164,6 @@ typedef struct tagME_Run ...@@ -164,12 +164,6 @@ typedef struct tagME_Run
REOBJECT *ole_obj; /* FIXME: should be a union with strText (at least) */ REOBJECT *ole_obj; /* FIXME: should be a union with strText (at least) */
} ME_Run; } ME_Run;
typedef struct tagME_Document {
struct tagME_DisplayItem *def_char_style;
struct tagME_DisplayItem *def_para_style;
int last_wrapped_line;
} ME_Document;
typedef struct tagME_Border typedef struct tagME_Border
{ {
int width; int width;
...@@ -197,7 +191,7 @@ typedef struct tagME_Paragraph ...@@ -197,7 +191,7 @@ typedef struct tagME_Paragraph
int nHeight, nWidth; int nHeight, nWidth;
int nLastPaintYPos, nLastPaintHeight; int nLastPaintYPos, nLastPaintHeight;
int nRows; int nRows;
struct tagME_DisplayItem *prev_para, *next_para, *document; struct tagME_DisplayItem *prev_para, *next_para;
} ME_Paragraph; } ME_Paragraph;
typedef struct tagME_Cell /* v4.1 */ typedef struct tagME_Cell /* v4.1 */
...@@ -242,7 +236,6 @@ typedef struct tagME_DisplayItem ...@@ -242,7 +236,6 @@ typedef struct tagME_DisplayItem
ME_Row row; ME_Row row;
ME_Cell cell; ME_Cell cell;
ME_Paragraph para; ME_Paragraph para;
ME_Document doc; /* not used */
ME_Style *ustyle; /* used by diUndoSetCharFormat */ ME_Style *ustyle; /* used by diUndoSetCharFormat */
} member; } member;
} ME_DisplayItem; } ME_DisplayItem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment