sw/source/core/crsr/trvlfnfl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit bab13c8ded0304a91c7b05068a719b22ed3d8ea4 Author: Noel Grandin <[email protected]> AuthorDate: Tue Sep 30 22:18:51 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Oct 1 15:45:13 2025 +0200 tdf#133976 no need to update navigation history during export Change-Id: Ie815b623ee39ed1a0b2fffd436cfcea2b76fe55a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191728 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sw/source/core/crsr/trvlfnfl.cxx b/sw/source/core/crsr/trvlfnfl.cxx index 060d754fd82c..890a708e988c 100644 --- a/sw/source/core/crsr/trvlfnfl.cxx +++ b/sw/source/core/crsr/trvlfnfl.cxx @@ -45,8 +45,9 @@ bool SwCursorShell::CallCursorShellFN( FNCursorShell fnCursor ) bool SwCursorShell::CallCursorFN( FNCursor fnCursor ) { // for footnote anchor<->text recency - if (SwWrtShell* pWrtSh = dynamic_cast<SwWrtShell*>(this)) - pWrtSh->addCurrentPosition(); + if (!IsViewLocked()) + if (SwWrtShell* pWrtSh = dynamic_cast<SwWrtShell*>(this)) + pWrtSh->addCurrentPosition(); SwCallLink aLk( *this ); // watch Cursor-Moves SwCursor* pCursor = getShellCursor( true );
