diff options
author | Wei Li <weili@chromium.org> | 2016-01-28 15:59:38 -0800 |
---|---|---|
committer | Wei Li <weili@chromium.org> | 2016-01-28 15:59:38 -0800 |
commit | d45e7a51904164fb22049f0a7a80d2a94c06936b (patch) | |
tree | 047012090dd6dac5ed99c620f250baea480059dd /fpdfsdk/src/fsdk_mgr.cpp | |
parent | badb41230bae96cba8fc481de47592836e3f43f8 (diff) | |
download | pdfium-d45e7a51904164fb22049f0a7a80d2a94c06936b.tar.xz |
Member function name refactoring
This is needed by Cl 1634373003 as the name collision with virtual functions
will be shown as warnings on Linux. Also, it is better to use
different names for different cases.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1644633003 .
Diffstat (limited to 'fpdfsdk/src/fsdk_mgr.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_mgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp index ecef863d61..3299b8f909 100644 --- a/fpdfsdk/src/fsdk_mgr.cpp +++ b/fpdfsdk/src/fsdk_mgr.cpp @@ -453,9 +453,9 @@ FX_BOOL CPDFSDK_Document::ProcOpenAction() { if (!pRoot) return FALSE; - CPDF_Object* pOpenAction = pRoot->GetDict("OpenAction"); + CPDF_Object* pOpenAction = pRoot->GetDictBy("OpenAction"); if (!pOpenAction) - pOpenAction = pRoot->GetArray("OpenAction"); + pOpenAction = pRoot->GetArrayBy("OpenAction"); if (!pOpenAction) return FALSE; @@ -716,7 +716,7 @@ CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Annot* pPDFAnnot) { } CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Dictionary* pDict) { - return pDict ? AddAnnot(pDict->GetString("Subtype"), pDict) : nullptr; + return pDict ? AddAnnot(pDict->GetStringBy("Subtype"), pDict) : nullptr; } CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(const FX_CHAR* lpSubType, |