Huw Davies : riched20: Remove an unused parameter.

Alexandre Julliard julliard at winehq.org
Thu Sep 14 14:50:09 CDT 2017


Module: wine
Branch: master
Commit: 3cc1ef6bcae68fbc2bc3c46ce3b9f6cf36d176d6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3cc1ef6bcae68fbc2bc3c46ce3b9f6cf36d176d6

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Sep 14 12:51:01 2017 +0100

riched20: Remove an unused parameter.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/riched20/editor.h  | 2 +-
 dlls/riched20/paint.c   | 2 +-
 dlls/riched20/richole.c | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index 53c41a9..aba3026 100644
--- a/dlls/riched20/editor.h
+++ b/dlls/riched20/editor.h
@@ -248,7 +248,7 @@ int ME_GetParaBorderWidth(const ME_Context *c, int flags) DECLSPEC_HIDDEN;
 
 /* richole.c */
 LRESULT CreateIRichEditOle(IUnknown *outer_unk, ME_TextEditor *editor, LPVOID *ppvObj) DECLSPEC_HIDDEN;
-void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run* run, ME_Paragraph *para, BOOL selected) DECLSPEC_HIDDEN;
+void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run* run, BOOL selected) DECLSPEC_HIDDEN;
 void ME_GetOLEObjectSize(const ME_Context *c, ME_Run *run, SIZE *pSize) DECLSPEC_HIDDEN;
 void ME_CopyReObject(REOBJECT* dst, const REOBJECT* src) DECLSPEC_HIDDEN;
 void ME_DeleteReObject(REOBJECT* reo) DECLSPEC_HIDDEN;
diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c
index 41b3896..b4b6697 100644
--- a/dlls/riched20/paint.c
+++ b/dlls/riched20/paint.c
@@ -481,7 +481,7 @@ static void ME_DrawRun(ME_Context *c, int x, int y, ME_DisplayItem *rundi, ME_Pa
   }
 
   if (run->nFlags & MERF_GRAPHICS)
-    ME_DrawOLE(c, x, y, run, para, (runofs >= nSelFrom) && (runofs < nSelTo));
+    ME_DrawOLE(c, x, y, run, (runofs >= nSelFrom) && (runofs < nSelTo));
   else
   {
     ME_DrawTextWithStyle(c, run, x, y, nSelFrom - runofs, nSelTo - runofs,
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
index dbb21b2..98cee74 100644
--- a/dlls/riched20/richole.c
+++ b/dlls/riched20/richole.c
@@ -5284,8 +5284,7 @@ void ME_GetOLEObjectSize(const ME_Context *c, ME_Run *run, SIZE *pSize)
   }
 }
 
-void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run,
-                ME_Paragraph *para, BOOL selected)
+void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run, BOOL selected)
 {
   IDataObject*  ido;
   FORMATETC     fmt;




More information about the wine-cvs mailing list