libreoffice/pdfium-optional.patch

20 lines
564 B
Diff
Raw Normal View History

--- external/pdfium/annot.patch.1
+++ external/pdfium/annot.patch.1
@@ -2,7 +2,15 @@ diff --git a/fpdfsdk/fpdf_annot.cpp b/fpdfsdk/fpdf_annot.cpp
index bc1f7f7eb..075baf1df 100644
--- a/fpdfsdk/fpdf_annot.cpp
+++ b/fpdfsdk/fpdf_annot.cpp
-@@ -1366,6 +1366,42 @@ FPDFAnnot_GetFontSize(FPDF_FORMHANDLE hHandle,
+@@ -5,6 +5,7 @@
+ #include "public/fpdf_annot.h"
+
+ #include <memory>
++#include <optional>
+ #include <sstream>
+ #include <utility>
+ #include <vector>
+@@ -1366,6 +1367,42 @@ FPDFAnnot_GetFontSize(FPDF_FORMHANDLE hHandle,
return true;
}