riched20-IText_Interface: Remove patch 0010 silencing FIXMEs.

If this is desired, it can be easily rewritten and submitted upstream.
This commit is contained in:
Zebediah Figura 2023-04-16 16:18:45 -05:00
parent 182d6c76e3
commit 4eb322dc41

View File

@ -1,28 +0,0 @@
From c4c4f61276c87b7e88b232a6515c755c6b5291d0 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sat, 1 Nov 2014 22:51:34 +0100
Subject: [PATCH] riched20: Silence repeated FIXMEs triggered by Adobe Reader.
Adobe Reader calls these functions very often while scrolling through a document.
---
dlls/riched20/richole.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
index 932ed9ea383..de039b513bf 100644
--- a/dlls/riched20/richole.c
+++ b/dlls/riched20/richole.c
@@ -3704,7 +3704,9 @@ static HRESULT WINAPI TextPara_SetStyle(ITextPara *iface, LONG value)
static HRESULT WINAPI TextPara_GetAlignment(ITextPara *iface, LONG *value)
{
ITextParaImpl *This = impl_from_ITextPara(iface);
- FIXME("(%p)->(%p)\n", This, value);
+ static int once;
+
+ if (!once++) FIXME("(%p)->(%p)\n", This, value);
if (!para_get_reole(This))
return CO_E_RELEASED;
--
2.30.2