diff options
Diffstat (limited to 'experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfURIDictionary_autogen.cpp')
-rw-r--r-- | experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfURIDictionary_autogen.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfURIDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfURIDictionary_autogen.cpp deleted file mode 100644 index 14b3f46678..0000000000 --- a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfURIDictionary_autogen.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2013 Google Inc. - - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "SkPdfURIDictionary_autogen.h" -#include "SkPdfNativeDoc.h" - -SkString SkPdfURIDictionary::Base(SkPdfNativeDoc* doc) { - SkPdfNativeObject* ret = get("Base", ""); - if (doc) {ret = doc->resolveReference(ret);} - if ((ret != NULL && ret->isAnyString()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->stringValue2(); - // TODO(edisonn): warn about missing default value for optional fields - return SkString(); -} - -bool SkPdfURIDictionary::has_Base() const { - return get("Base", "") != NULL; -} |