diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-02 09:54:54 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-02 09:54:54 -0800 |
commit | 3343d146f2d9cd2f9eaa3a40fed3a5b94f3f107e (patch) | |
tree | ab220ffcea223cacd136054603c63324a1d9d5f4 /fpdfsdk/src/fsdk_baseannot.cpp | |
parent | 1b700c3c452429dacde3c163a6edb2706f93d4a7 (diff) | |
download | pdfium-3343d146f2d9cd2f9eaa3a40fed3a5b94f3f107e.tar.xz |
Fix XFA compilation noise, part 1.
Mainly:
volatile/override/method shadowing.
unused variables.
intialization list init order.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1422113003 .
Diffstat (limited to 'fpdfsdk/src/fsdk_baseannot.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_baseannot.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fpdfsdk/src/fsdk_baseannot.cpp b/fpdfsdk/src/fsdk_baseannot.cpp index 126c7a7fdb..1c96936f03 100644 --- a/fpdfsdk/src/fsdk_baseannot.cpp +++ b/fpdfsdk/src/fsdk_baseannot.cpp @@ -518,7 +518,7 @@ CPDFSDK_BAAnnot::~CPDFSDK_BAAnnot() { m_pAnnot = NULL; } -CPDF_Annot* CPDFSDK_BAAnnot::GetPDFAnnot() { +CPDF_Annot* CPDFSDK_BAAnnot::GetPDFAnnot() const { return m_pAnnot; } @@ -571,10 +571,6 @@ CFX_ByteString CPDFSDK_BAAnnot::GetSubType() const { return ""; } -void CPDFSDK_BAAnnot::ResetAppearance() { - ASSERT(FALSE); -} - void CPDFSDK_BAAnnot::DrawAppearance(CFX_RenderDevice* pDevice, const CPDF_Matrix* pUser2Device, CPDF_Annot::AppearanceMode mode, |