summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-07-31 10:00:12 -0700
committerNico Weber <thakis@chromium.org>2014-07-31 10:00:12 -0700
commitc2df91c93d7d2ec4ffb2e0162d6ed865a71a15df (patch)
treeef745d131c41fc20fda2148c5749605765bcf24d
parent2fd400c319c68b4b8bd741c0df51c8846c40a276 (diff)
downloadpdfium-c2df91c93d7d2ec4ffb2e0162d6ed865a71a15df.tar.xz
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
-rw-r--r--fpdfsdk/include/fsdk_baseannot.h1
-rw-r--r--fpdfsdk/src/fsdk_baseannot.cpp5
2 files changed, 0 insertions, 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)
{