riched20: Remove an unused parameter.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
47ddc57571
commit
3cc1ef6bca
|
@ -248,7 +248,7 @@ int ME_GetParaBorderWidth(const ME_Context *c, int flags) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* richole.c */
|
/* richole.c */
|
||||||
LRESULT CreateIRichEditOle(IUnknown *outer_unk, ME_TextEditor *editor, LPVOID *ppvObj) DECLSPEC_HIDDEN;
|
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_GetOLEObjectSize(const ME_Context *c, ME_Run *run, SIZE *pSize) DECLSPEC_HIDDEN;
|
||||||
void ME_CopyReObject(REOBJECT* dst, const REOBJECT* src) DECLSPEC_HIDDEN;
|
void ME_CopyReObject(REOBJECT* dst, const REOBJECT* src) DECLSPEC_HIDDEN;
|
||||||
void ME_DeleteReObject(REOBJECT* reo) DECLSPEC_HIDDEN;
|
void ME_DeleteReObject(REOBJECT* reo) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -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)
|
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
|
else
|
||||||
{
|
{
|
||||||
ME_DrawTextWithStyle(c, run, x, y, nSelFrom - runofs, nSelTo - runofs,
|
ME_DrawTextWithStyle(c, run, x, y, nSelFrom - runofs, nSelTo - runofs,
|
||||||
|
|
|
@ -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,
|
void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run, BOOL selected)
|
||||||
ME_Paragraph *para, BOOL selected)
|
|
||||||
{
|
{
|
||||||
IDataObject* ido;
|
IDataObject* ido;
|
||||||
FORMATETC fmt;
|
FORMATETC fmt;
|
||||||
|
|
Loading…
Reference in New Issue