diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cjs_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_document.cpp b/fxjs/cjs_document.cpp index 9af0f07f75..980edd990a 100644 --- a/fxjs/cjs_document.cpp +++ b/fxjs/cjs_document.cpp @@ -1467,7 +1467,7 @@ CJS_Return Document::gotoNamedDest( scrollPositionArray.push_back(arrayObject->GetFloatAt(i)); } pRuntime->BeginBlock(); - m_pFormFillEnv->DoGoToAction(dest.GetPageIndexDeprecated(pDocument), + m_pFormFillEnv->DoGoToAction(dest.GetDestPageIndex(pDocument), dest.GetZoomMode(), scrollPositionArray.data(), scrollPositionArray.size()); pRuntime->EndBlock(); |