Index: fpdfsdk/src/fsdk_annothandler.cpp |
diff --git a/fpdfsdk/src/fsdk_annothandler.cpp b/fpdfsdk/src/fsdk_annothandler.cpp |
index 28b8114ed679fe9f93c9b384cfaf33d72899ff99..27e5e2352aa8a1728123088bef0d4d6d057e4f12 100644 |
--- a/fpdfsdk/src/fsdk_annothandler.cpp |
+++ b/fpdfsdk/src/fsdk_annothandler.cpp |
@@ -701,12 +701,8 @@ FX_BOOL CPDFSDK_BFAnnotHandler::OnKillFocus(CPDFSDK_Annot* pAnnot, |
CFX_FloatRect CPDFSDK_BFAnnotHandler::GetViewBBox(CPDFSDK_PageView* pPageView, |
CPDFSDK_Annot* pAnnot) { |
CFX_ByteString sSubType = pAnnot->GetSubType(); |
- |
- if (sSubType == BFFT_SIGNATURE) { |
- } else { |
- if (m_pFormFiller) |
- return m_pFormFiller->GetViewBBox(pPageView, pAnnot); |
- } |
+ if (sSubType != BFFT_SIGNATURE && m_pFormFiller) |
+ return CFX_FloatRect(m_pFormFiller->GetViewBBox(pPageView, pAnnot)); |
return CFX_FloatRect(0, 0, 0, 0); |
} |