summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-30 13:58:14 +0200
committerNoel Grandin <noel@peralex.com>2016-08-31 10:00:07 +0200
commit8c0db3e8ac158c8e131085843fcc326073e28c05 (patch)
tree43ce2bb0c9559d0ea3b3e0e1cd87b871a6595bf6 /sw/source/uibase/wrtsh
parentd562c4e4ead3174a9cc720835ecfbfa16e40e15d (diff)
Get rid of a pointless indirect function pointer variable
Change-Id: I81055c6973247e226dc9dc3fda072aef94fa8966
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/move.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx
index f859747361aa..3aedea42a4d5 100644
--- a/sw/source/uibase/wrtsh/move.cxx
+++ b/sw/source/uibase/wrtsh/move.cxx
@@ -211,7 +211,7 @@ bool SwWrtShell::GoStart( bool bKeepArea, bool *pMoveTable,
*pMoveTable = false;
return true;
}
- if( MoveTable( fnTableCurr, fnTableStart ) || bDontMoveRegion )
+ if( MoveTable( GotoCurrTable, fnTableStart ) || bDontMoveRegion )
{
if ( pMoveTable )
*pMoveTable = true;
@@ -259,12 +259,12 @@ bool SwWrtShell::GoStart( bool bKeepArea, bool *pMoveTable,
bool SwWrtShell::GoEnd(bool bKeepArea, bool *pMoveTable)
{
if ( pMoveTable && *pMoveTable )
- return MoveTable( fnTableCurr, fnTableEnd );
+ return MoveTable( GotoCurrTable, fnTableEnd );
if ( IsCursorInTable() )
{
if ( MoveSection( GoCurrSection, fnSectionEnd ) ||
- MoveTable( fnTableCurr, fnTableEnd ) )
+ MoveTable( GotoCurrTable, fnTableEnd ) )
return true;
}
else