From d983b09c3ae29a97cba8e9ec9c6351545f6087ee Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 14 Dec 2015 16:58:33 -0800 Subject: Merge to XFA: Remove FX_BSTRC. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1521563002 . (cherry picked from commit 1956a174020686f91cd3b34294e91f4560fe45aa) Review URL: https://codereview.chromium.org/1526823002 . --- core/src/fpdftext/fpdf_text_int.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/fpdftext') diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp index 314cc0e062..8a359fe9af 100644 --- a/core/src/fpdftext/fpdf_text_int.cpp +++ b/core/src/fpdftext/fpdf_text_int.cpp @@ -1289,7 +1289,7 @@ int32_t CPDF_TextPage::PreMarkedContent(PDFTEXT_Obj Obj) { CFX_ByteString tagStr = (CFX_ByteString)item.GetName(); pDict = ToDictionary(static_cast(item.GetParam())); CPDF_String* temp = - ToString(pDict ? pDict->GetElement(FX_BSTRC("ActualText")) : nullptr); + ToString(pDict ? pDict->GetElement("ActualText") : nullptr); if (temp) { bExist = TRUE; actText = temp->GetUnicodeText(); @@ -1359,7 +1359,7 @@ void CPDF_TextPage::ProcessMarkedContent(PDFTEXT_Obj Obj) { CFX_ByteString tagStr = (CFX_ByteString)item.GetName(); pDict = ToDictionary(static_cast(item.GetParam())); CPDF_String* temp = - ToString(pDict ? pDict->GetElement(FX_BSTRC("ActualText")) : nullptr); + ToString(pDict ? pDict->GetElement("ActualText") : nullptr); if (temp) { actText = temp->GetUnicodeText(); } -- cgit v1.2.3