summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_textparser.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-21 20:52:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-21 20:52:02 +0000
commit7af775a00379e84c0da1ab81695583eb7daaec3a (patch)
treea302accbd2463976903b102f01db0c588b5e1859 /xfa/fxfa/cxfa_textparser.h
parente4110926f26fcd9a906b2ceb722a4f3b50461130 (diff)
downloadpdfium-7af775a00379e84c0da1ab81695583eb7daaec3a.tar.xz
Change GetEmbbedObj() to return an Optional<WideString>.
Change "EmbbedObj" to "EmbeddedObj". Change-Id: Ia6a8ec45b4563b3ec64b91a10e087dbf32a8d8db Reviewed-on: https://pdfium-review.googlesource.com/40751 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_textparser.h')
-rw-r--r--xfa/fxfa/cxfa_textparser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_textparser.h b/xfa/fxfa/cxfa_textparser.h
index cd2856e6df..591606074e 100644
--- a/xfa/fxfa/cxfa_textparser.h
+++ b/xfa/fxfa/cxfa_textparser.h
@@ -14,6 +14,7 @@
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxge/fx_dib.h"
+#include "third_party/base/optional.h"
#include "xfa/fxfa/fxfa_basic.h"
class CFGAS_GEFont;
@@ -79,9 +80,8 @@ class CXFA_TextParser {
bool bFirst,
float fVerScale) const;
- bool GetEmbbedObj(CXFA_TextProvider* pTextProvider,
- CFX_XMLNode* pXMLNode,
- WideString& wsValue);
+ Optional<WideString> GetEmbeddedObj(CXFA_TextProvider* pTextProvider,
+ CFX_XMLNode* pXMLNode);
CXFA_TextParseContext* GetParseContextFromMap(CFX_XMLNode* pXMLNode);
protected: