summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview.cpp
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-06-20 16:47:41 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-20 21:04:49 +0000
commite10509a3d2a1641984845d579963d574305ea6cc (patch)
tree4a18e88dfd833279e2bd22590f16a317f4c6e812 /fpdfsdk/fpdfview.cpp
parentd5a13afe9265463a497db40d8c66a8a736a86bc2 (diff)
downloadpdfium-e10509a3d2a1641984845d579963d574305ea6cc.tar.xz
Wrapper class for annotation dictionary + CPDF_Formchromium/3137
Simple wrapper class for annotation + its path parsing form object. This will be used in APIs for extracting and setting annotation paths. Bug=pdfium:737 Change-Id: I2e8131672d087613213735295c6d01e377b956e7 Reviewed-on: https://pdfium-review.googlesource.com/6730 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview.cpp')
-rw-r--r--fpdfsdk/fpdfview.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 6eafdee407..68ef377dc8 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -305,14 +305,6 @@ CPDF_Page* CPDFPageFromFPDFPage(FPDF_PAGE page) {
#endif // PDF_ENABLE_XFA
}
-FPDF_ANNOTATION FPDFAnnotationFromCPDFDictionary(CPDF_Dictionary* pDict) {
- return static_cast<FPDF_ANNOTATION>(pDict);
-}
-
-CPDF_Dictionary* CPDFDictionaryFromFPDFAnnotation(FPDF_ANNOTATION annot) {
- return static_cast<CPDF_Dictionary*>(annot);
-}
-
CPDF_PathObject* CPDFPathObjectFromFPDFPageObject(FPDF_PAGEOBJECT page_object) {
return static_cast<CPDF_PathObject*>(page_object);
}