summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-22 10:20:43 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-22 10:20:43 -0700
commit577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7 (patch)
tree7e298b611fd4bf07713c35d01c6bc9b900758191 /fpdfsdk/fpdfxfa
parentbb577af2f17467a55c04fbff21a8f0ec1016601a (diff)
downloadpdfium-577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7.tar.xz
Move CPDFSDK_Environment code to cpp file
This CL moves the code from the .h file into the .cpp file. Review-Url: https://codereview.chromium.org/2354363003
Diffstat (limited to 'fpdfsdk/fpdfxfa')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp8
-rw-r--r--fpdfsdk/fpdfxfa/include/cpdfxfa_docenvironment.h4
2 files changed, 4 insertions, 8 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
index 7ee3cbb859..106d997e44 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp
@@ -253,7 +253,7 @@ FX_BOOL CPDFXFA_DocEnvironment::PopupMenu(CXFA_FFWidget* hWidget,
if (hWidget->CanSelectAll())
menuFlag |= FXFA_MENU_SELECTALL;
- return pEnv->PopupMenu(pPage, hWidget, menuFlag, ptPopup, nullptr);
+ return pEnv->PopupMenu(pPage, hWidget, menuFlag, ptPopup);
}
void CPDFXFA_DocEnvironment::PageViewEvent(CXFA_FFPageView* pPageView,
@@ -500,8 +500,7 @@ void CPDFXFA_DocEnvironment::ExportData(CXFA_FFDoc* hDoc,
}
void CPDFXFA_DocEnvironment::GotoURL(CXFA_FFDoc* hDoc,
- const CFX_WideString& bsURL,
- FX_BOOL bAppend) {
+ const CFX_WideString& bsURL) {
if (hDoc != m_pDocument->GetXFADoc())
return;
@@ -513,8 +512,7 @@ void CPDFXFA_DocEnvironment::GotoURL(CXFA_FFDoc* hDoc,
return;
CFX_WideStringC str(bsURL.c_str());
-
- pEnv->GotoURL(this, str, bAppend);
+ pEnv->GotoURL(this, str);
}
FX_BOOL CPDFXFA_DocEnvironment::IsValidationsEnabled(CXFA_FFDoc* hDoc) {
diff --git a/fpdfsdk/fpdfxfa/include/cpdfxfa_docenvironment.h b/fpdfsdk/fpdfxfa/include/cpdfxfa_docenvironment.h
index f6a538f816..26ff86122a 100644
--- a/fpdfsdk/fpdfxfa/include/cpdfxfa_docenvironment.h
+++ b/fpdfsdk/fpdfxfa/include/cpdfxfa_docenvironment.h
@@ -54,9 +54,7 @@ class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment {
void ExportData(CXFA_FFDoc* hDoc,
const CFX_WideString& wsFilePath,
FX_BOOL bXDP) override;
- void GotoURL(CXFA_FFDoc* hDoc,
- const CFX_WideString& bsURL,
- FX_BOOL bAppend) override;
+ void GotoURL(CXFA_FFDoc* hDoc, const CFX_WideString& bsURL) override;
FX_BOOL IsValidationsEnabled(CXFA_FFDoc* hDoc) override;
void SetValidationsEnabled(CXFA_FFDoc* hDoc, FX_BOOL bEnabled) override;
void SetFocusWidget(CXFA_FFDoc* hDoc, CXFA_FFWidget* hWidget) override;