summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_basic_module.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-02-27 19:54:20 -0800
committerLei Zhang <thestig@chromium.org>2015-02-27 19:54:20 -0800
commit8411066e3d5d6afd2c7f38e2c03abd065a783239 (patch)
tree504b3c04e0a018f2a930e7ed2c07dbf910b36ddb /core/src/fpdfapi/fpdf_basic_module.cpp
parent654403aedf0aac9a26ff6fd1f1cca8532528e9b0 (diff)
downloadpdfium-8411066e3d5d6afd2c7f38e2c03abd065a783239.tar.xz
Merge to XFA: Cleanup: Fix some unused-function warnings.
Original URL: https://codereview.chromium.org/891113002 (cherry picked from commit 44fc192f29a77c5864fabffe5ab63937dacdfd21) Review URL: https://codereview.chromium.org/966023002
Diffstat (limited to 'core/src/fpdfapi/fpdf_basic_module.cpp')
-rw-r--r--core/src/fpdfapi/fpdf_basic_module.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/src/fpdfapi/fpdf_basic_module.cpp b/core/src/fpdfapi/fpdf_basic_module.cpp
index edccda5743..82658ab51e 100644
--- a/core/src/fpdfapi/fpdf_basic_module.cpp
+++ b/core/src/fpdfapi/fpdf_basic_module.cpp
@@ -61,23 +61,6 @@ FX_BOOL CPDF_ModuleMgr::DownloadModule(FX_LPCSTR module_name)
}
return m_pDownloadCallback(module_name);
}
-static CFX_ByteString _GetPath(const CFX_ByteString& folder, FX_LPCSTR name)
-{
- FX_STRSIZE folder_len = folder.GetLength();
-#if _FX_OS_ == _FX_SYMBIAN_ || _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
- if (folder[folder_len - 1] == '\\') {
- return folder + name;
- } else {
- return (folder + "\\") + name;
- }
-#else
- if (folder[folder_len - 1] == '/') {
- return folder + name;
- } else {
- return (folder + "/") + name;
- }
-#endif
-}
void CPDF_ModuleMgr::NotifyModuleAvailable(FX_LPCSTR module_name)
{
if (FXSYS_strcmp(module_name, ADDIN_NAME_CJK) == 0) {