diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-03-06 10:52:05 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-03-06 10:52:05 -0800 |
commit | ac8d1e75645d783cc72d2cfd57554e48e3ed2999 (patch) | |
tree | f9a81ec2955e3510e2f5000951770b56abb7194a /fpdfsdk/src/fsdk_actionhandler.cpp | |
parent | 934c277e262e1402a87581ab7dcef4a7733ddf08 (diff) | |
download | pdfium-ac8d1e75645d783cc72d2cfd57554e48e3ed2999.tar.xz |
Merge to XFA: Make conversion between CPDF_Dest and its object explicit.
Original Review URL: https://codereview.chromium.org/984703004
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/984143002
Diffstat (limited to 'fpdfsdk/src/fsdk_actionhandler.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_actionhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fsdk_actionhandler.cpp b/fpdfsdk/src/fsdk_actionhandler.cpp index 5fd6c54209..6f8ea0c60f 100644 --- a/fpdfsdk/src/fsdk_actionhandler.cpp +++ b/fpdfsdk/src/fsdk_actionhandler.cpp @@ -565,7 +565,7 @@ void CPDFSDK_ActionHandler::DoAction_GoTo(CPDFSDK_Document* pDocument, CPDF_Dest MyDest = action.GetDest(pPDFDocument); int nPageIndex = MyDest.GetPageIndex(pPDFDocument); int nFitType = MyDest.GetZoomMode(); - const CPDF_Array * pMyArray = (CPDF_Array*)MyDest.m_pObj; + const CPDF_Array * pMyArray = (CPDF_Array*)MyDest.GetObject(); float* pPosAry = NULL; int sizeOfAry = 0; if (pMyArray != NULL) |