From c2df91c93d7d2ec4ffb2e0162d6ed865a71a15df Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 31 Jul 2014 10:00:12 -0700 Subject: Remove CPDFSDK_Annot::ResetAppearance(). It's unused, and it caused a warning about CPDFSDK_Widget::ResetAppearance() failing to override it (since these two unrelated methods had the same name). No intended behavior change. BUG=pdfium:29 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/429483004 --- fpdfsdk/include/fsdk_baseannot.h | 1 - fpdfsdk/src/fsdk_baseannot.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/fpdfsdk/include/fsdk_baseannot.h b/fpdfsdk/include/fsdk_baseannot.h index 46425089aa..50a6e1e2e5 100644 --- a/fpdfsdk/include/fsdk_baseannot.h +++ b/fpdfsdk/include/fsdk_baseannot.h @@ -160,7 +160,6 @@ public: void ClearCachedAP(); - virtual void ResetAppearance(); void WriteAppearance(const CFX_ByteString& sAPType, const CPDF_Rect& rcBBox, const CPDF_Matrix& matrix, const CFX_ByteString& sContents, const CFX_ByteString& sAPState = ""); diff --git a/fpdfsdk/src/fsdk_baseannot.cpp b/fpdfsdk/src/fsdk_baseannot.cpp index c8e07358ba..ff054c8b20 100644 --- a/fpdfsdk/src/fsdk_baseannot.cpp +++ b/fpdfsdk/src/fsdk_baseannot.cpp @@ -596,11 +596,6 @@ CFX_ByteString CPDFSDK_Annot::GetSubType() const return ""; } -void CPDFSDK_Annot::ResetAppearance() -{ - ASSERT(FALSE); -} - void CPDFSDK_Annot::DrawAppearance(CFX_RenderDevice* pDevice, const CPDF_Matrix* pUser2Device, CPDF_Annot::AppearanceMode mode, const CPDF_RenderOptions* pOptions) { -- cgit v1.2.3