summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-26 09:32:12 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-26 09:32:13 -0700
commit186a78eb0a821a2f1feef524cb590d0fea2009ba (patch)
tree8c22dcac7a3e8e9857031e357f3c120b5cea0cbb /fpdfsdk
parentba9ee0748ae03519e54e82c49c6aaa481a6fff21 (diff)
downloadpdfium-186a78eb0a821a2f1feef524cb590d0fea2009ba.tar.xz
Remove no-op ShowFileDialog(s).
Two different versions, one in xfa and one in fpdfsdk, both do nothing. Review URL: https://codereview.chromium.org/1915323002
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdfxfa/fpdfxfa_app.cpp7
-rw-r--r--fpdfsdk/fpdfxfa/include/fpdfxfa_app.h4
-rw-r--r--fpdfsdk/include/fsdk_mgr.h7
3 files changed, 0 insertions, 18 deletions
diff --git a/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp b/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp
index 5a7d24ee88..f9c3ca65a3 100644
--- a/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp
+++ b/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp
@@ -514,13 +514,6 @@ void CPDFXFA_App::LoadString(int32_t iStringID, CFX_WideString& wsString) {
}
}
-FX_BOOL CPDFXFA_App::ShowFileDialog(const CFX_WideStringC& wsTitle,
- const CFX_WideStringC& wsFilter,
- CFX_WideStringArray& wsPathArr,
- FX_BOOL bOpen) {
- return FALSE;
-}
-
IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() {
CXFA_FWLAdapterTimerMgr* pAdapter = NULL;
CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0);
diff --git a/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h b/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
index e88061fc4b..6491781cbe 100644
--- a/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
+++ b/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
@@ -76,10 +76,6 @@ class CPDFXFA_App : public IXFA_AppProvider {
const CFX_WideStringC& wsEncode) override;
void LoadString(int32_t iStringID, CFX_WideString& wsString) override;
- FX_BOOL ShowFileDialog(const CFX_WideStringC& wsTitle,
- const CFX_WideStringC& wsFilter,
- CFX_WideStringArray& wsPathArr,
- FX_BOOL bOpen) override;
IFWL_AdapterTimerMgr* GetTimerMgr() override;
CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList;
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index 0578a16e3d..ff947cccf8 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -368,13 +368,6 @@ class CPDFDoc_Environment final {
return FALSE;
}
- FPDF_BOOL FFI_ShowFileDialog(const FX_WCHAR* wsTitle,
- const FX_WCHAR* wsFilter,
- std::vector<CFX_WideString>& wsPathArr,
- FX_BOOL bOpen) {
- return FALSE;
- }
-
CFX_WideString FFI_GetLanguage() {
if (m_pInfo && m_pInfo->FFI_GetLanguage) {
int nRequiredLen = m_pInfo->FFI_GetLanguage(m_pInfo, NULL, 0);