diff options
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_formfillenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp index 155fcc0455..52dfb526eb 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.cpp +++ b/fpdfsdk/cpdfsdk_formfillenvironment.cpp @@ -646,7 +646,7 @@ bool CPDFSDK_FormFillEnvironment::SetFocusAnnot( return true; if (m_pFocusAnnot && !KillFocusAnnot(0)) return false; - if (!*pAnnot) + if (!pAnnot->HasObservable()) return false; CPDFSDK_PageView* pPageView = (*pAnnot)->GetPageView(); |