Dylan Smith : richedit: Removed unused ME_Document structure.
Alexandre Julliard
julliard at winehq.org
Tue Feb 17 08:49:09 CST 2009
Module: wine
Branch: master
Commit: 3903a110fbed77b8ab6593e1b9109494060337be
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3903a110fbed77b8ab6593e1b9109494060337be
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Mon Feb 16 13:50:26 2009 -0500
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.
---
dlls/riched20/editstr.h | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
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-cvs
mailing list