| Index: fpdfsdk/src/fsdk_mgr.cpp
|
| diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp
|
| index 4c684cfb69d09c351fcdc45e08afb109c0d4402f..2ab9d8bf78a028ba3a36485600432d688d87d0b5 100644
|
| --- a/fpdfsdk/src/fsdk_mgr.cpp
|
| +++ b/fpdfsdk/src/fsdk_mgr.cpp
|
| @@ -694,6 +694,7 @@ void CPDFSDK_PageView::PageView_OnDraw(CFX_RenderDevice* pDevice,
|
| if (pPage == NULL)
|
| return;
|
|
|
| +#ifdef PDF_ENABLE_XFA
|
| if (pPage->GetDocument()->GetDocType() == DOCTYPE_DYNIMIC_XFA) {
|
| CFX_Graphics gs;
|
| gs.Create(pDevice);
|
| @@ -717,6 +718,8 @@ void CPDFSDK_PageView::PageView_OnDraw(CFX_RenderDevice* pDevice,
|
| pRenderContext->Release();
|
| return;
|
| }
|
| +#endif // PDF_ENABLE_XFA
|
| +
|
| // for pdf/static xfa.
|
| CPDFSDK_AnnotIterator annotIterator(this, TRUE);
|
| CPDFSDK_Annot* pSDKAnnot = NULL;
|
|
|