diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-22 10:20:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-22 10:20:43 -0700 |
commit | 577ad2c9ea89c721ee1dbb89d1f7e12bb8c333f7 (patch) | |
tree | 7e298b611fd4bf07713c35d01c6bc9b900758191 /fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp | |
parent | bb577af2f17467a55c04fbff21a8f0ec1016601a (diff) | |
download | pdfium-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/cpdfxfa_docenvironment.cpp')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp | 8 |
1 files changed, 3 insertions, 5 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) { |