summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/trvlfnfl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/trvlfnfl.cxx')
-rw-r--r--sw/source/core/crsr/trvlfnfl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/crsr/trvlfnfl.cxx b/sw/source/core/crsr/trvlfnfl.cxx
index 8cdf807acc55..098bad4b3435 100644
--- a/sw/source/core/crsr/trvlfnfl.cxx
+++ b/sw/source/core/crsr/trvlfnfl.cxx
@@ -34,9 +34,6 @@
bool SwCursorShell::CallCursorShellFN( FNCursorShell fnCursor )
{
- if (SwWrtShell* pWrtSh = dynamic_cast<SwWrtShell*>(this))
- pWrtSh->addCurrentPosition();
-
SwCallLink aLk( *this ); // watch Cursor-Moves
bool bRet = (this->*fnCursor)();
if( bRet )
@@ -47,6 +44,7 @@ bool SwCursorShell::CallCursorShellFN( FNCursorShell fnCursor )
bool SwCursorShell::CallCursorFN( FNCursor fnCursor )
{
+ // for footnote anchor<->text recency
if (SwWrtShell* pWrtSh = dynamic_cast<SwWrtShell*>(this))
pWrtSh->addCurrentPosition();