Index: fpdfsdk/cpdfsdk_annothandlermgr.cpp |
diff --git a/fpdfsdk/cpdfsdk_annothandlermgr.cpp b/fpdfsdk/cpdfsdk_annothandlermgr.cpp |
index 077c7faf54cda009537ae021cb9534134c1bf792..6401db8392635165805c6680836257103972df20 100644 |
--- a/fpdfsdk/cpdfsdk_annothandlermgr.cpp |
+++ b/fpdfsdk/cpdfsdk_annothandlermgr.cpp |
@@ -12,7 +12,6 @@ |
#include "fpdfsdk/cpdfsdk_baannot.h" |
#include "fpdfsdk/cpdfsdk_baannothandler.h" |
#include "fpdfsdk/cpdfsdk_datetime.h" |
-#include "fpdfsdk/cpdfsdk_document.h" |
#include "fpdfsdk/cpdfsdk_formfillenvironment.h" |
#include "fpdfsdk/cpdfsdk_pageview.h" |
#include "fpdfsdk/cpdfsdk_widgethandler.h" |
@@ -208,7 +207,7 @@ FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnKeyDown(CPDFSDK_Annot* pAnnot, |
CPDFSDK_Annot::ObservedPtr pNext( |
GetNextAnnot(pFocusAnnot, !m_pEnv->IsSHIFTKeyDown(nFlag))); |
if (pNext && pNext.Get() != pFocusAnnot) { |
- pPage->GetFormFillEnv()->GetSDKDocument()->SetFocusAnnot(&pNext); |
+ pPage->GetFormFillEnv()->SetFocusAnnot(&pNext); |
return TRUE; |
} |
} |