Index: fpdfsdk/src/fsdk_actionhandler.cpp |
diff --git a/fpdfsdk/src/fsdk_actionhandler.cpp b/fpdfsdk/src/fsdk_actionhandler.cpp |
index 451381b289854de288525cad600bf08fa5ec0dfa..0a8a066885249fdded350b5966d067f7d868c110 100644 |
--- a/fpdfsdk/src/fsdk_actionhandler.cpp |
+++ b/fpdfsdk/src/fsdk_actionhandler.cpp |
@@ -434,7 +434,7 @@ void CPDFSDK_ActionHandler::DoAction_GoTo(CPDFSDK_Document* pDocument, |
const CPDF_Action& action) { |
ASSERT(action); |
- CPDF_Document* pPDFDocument = pDocument->GetDocument()->GetPDFDoc(); |
+ CPDF_Document* pPDFDocument = pDocument->GetPDFDocument(); |
ASSERT(pPDFDocument); |
CPDF_Dest MyDest = action.GetDest(pPDFDocument); |
@@ -470,7 +470,7 @@ void CPDFSDK_ActionHandler::DoAction_URI(CPDFSDK_Document* pDocument, |
CPDFDoc_Environment* pApp = pDocument->GetEnv(); |
ASSERT(pApp != NULL); |
- CFX_ByteString sURI = action.GetURI(pDocument->GetDocument()->GetPDFDoc()); |
+ CFX_ByteString sURI = action.GetURI(pDocument->GetPDFDocument()); |
pApp->FFI_DoURIAction(sURI.c_str()); |
} |