richedit: Removed unused ME_Document structure.
Dylan Smith
dylan.ah.smith at gmail.com
Mon Feb 16 12:50:26 CST 2009
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.
---
dlls/riched20/editstr.h | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
-------------- next part --------------
diff --git a/dlls/riched20/editstr.h b/dlls/riched20/editstr.h
index 889cbd8..a4af8fe 100644
--- a/dlls/riched20/editstr.h
+++ b/dlls/riched20/editstr.h
@@ -164,12 +164,6 @@ typedef struct tagME_Run
REOBJECT *ole_obj; /* FIXME: should be a union with strText (at least) */
} 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
{
int width;
@@ -197,7 +191,7 @@ typedef struct tagME_Paragraph
int nHeight, nWidth;
int nLastPaintYPos, nLastPaintHeight;
int nRows;
- struct tagME_DisplayItem *prev_para, *next_para, *document;
+ struct tagME_DisplayItem *prev_para, *next_para;
} ME_Paragraph;
typedef struct tagME_Cell /* v4.1 */
@@ -242,7 +236,6 @@ typedef struct tagME_DisplayItem
ME_Row row;
ME_Cell cell;
ME_Paragraph para;
- ME_Document doc; /* not used */
ME_Style *ustyle; /* used by diUndoSetCharFormat */
} member;
} ME_DisplayItem;
More information about the wine-patches
mailing list