summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/Document.cpp
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-12-12 16:42:18 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2014-12-12 16:42:18 -0800
commit217ecf3b39f8d5c01260684848a8886c8ed2bf89 (patch)
tree1ab05e729480f2d8fab6882285c2e169c8ba007e /fpdfsdk/src/javascript/Document.cpp
parent239955073722582152d9ab190794317dd775a1c1 (diff)
downloadpdfium-217ecf3b39f8d5c01260684848a8886c8ed2bf89.tar.xz
Simplify PDFium by removing code that's not used in the open source repo.
-remove parameter from FPDF_InitLibrary -remove a bunch of ifdefs that are unused R=tsepez@chromium.org Review URL: https://codereview.chromium.org/801913002
Diffstat (limited to 'fpdfsdk/src/javascript/Document.cpp')
-rw-r--r--fpdfsdk/src/javascript/Document.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp
index c10f937f5d..96cec474c2 100644
--- a/fpdfsdk/src/javascript/Document.cpp
+++ b/fpdfsdk/src/javascript/Document.cpp
@@ -1763,9 +1763,6 @@ FX_BOOL Document::removeIcon(OBJ_METHOD_PARAMS)
if(!m_pIconTree)
return FALSE;
CFX_WideString swIconName = params[0].operator CFX_WideString();
-#ifndef FOXIT_CHROME_BUILD
- m_pIconTree->DeleteIconElement(swIconName);
-#endif
return TRUE;
}
@@ -2155,11 +2152,7 @@ FX_BOOL Document::deletePages(OBJ_METHOD_PARAMS)
-#ifndef FOXIT_CHROME_BUILD
- return m_pDocument->DeletePages(nStart, nEnd - nStart + 1);
-#else
return TRUE;
-#endif
}
FX_BOOL Document::extractPages(OBJ_METHOD_PARAMS)