Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: fpdfsdk/src/formfiller/FFL_Utils.cpp

Issue 1417933002: Add type cast definitions for CPDF_String. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/src/formfiller/FFL_Utils.cpp
diff --git a/fpdfsdk/src/formfiller/FFL_Utils.cpp b/fpdfsdk/src/formfiller/FFL_Utils.cpp
index a4463b724283e91dd2552ade44244e6af433452f..e3c8306a0a329735c88ad27f8bad2384890fdfca 100644
--- a/fpdfsdk/src/formfiller/FFL_Utils.cpp
+++ b/fpdfsdk/src/formfiller/FFL_Utils.cpp
@@ -81,7 +81,7 @@ FX_BOOL CFFL_Utils::TraceObject(CPDF_Object* pObj) {
// TRACE("%d\n",(int32_t)pObj);
break;
case PDFOBJ_STRING:
- // TRACE(((CPDF_String*)pObj)->GetString() + "\n");
+ // TRACE(pObj->AsString()->GetString() + "\n");
Lei Zhang 2015/10/21 16:55:57 This entire function just needs to go.
dsinclair 2015/10/21 17:08:05 Acknowledged.
break;
case PDFOBJ_NAME:
// TRACE(((CPDF_Name*)pObj)->GetString() + "\n");

Powered by Google App Engine
This is Rietveld 408576698