diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 10:23:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 10:00:07 +0200 |
commit | 9cd59f774621b99174af2cd698466d5c0d9a68e2 (patch) | |
tree | dd7917ef292fb65d3fa9060a5af54331c1378561 /sw/source/uibase/wrtsh | |
parent | 488c8053dc824d4736b02020bb440d43c4933eb2 (diff) |
Get rid of a pointless indirect function pointer variable
Change-Id: If6847f55e6a09970375998b6eee82ddefaf3eaed
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/move.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx index f71b3ecd61b2..8ffe3c8157a8 100644 --- a/sw/source/uibase/wrtsh/move.cxx +++ b/sw/source/uibase/wrtsh/move.cxx @@ -305,37 +305,37 @@ bool SwWrtShell::EndDoc( bool bSelect) bool SwWrtShell::SttNxtPg( bool bSelect ) { ShellMoveCursor aTmp( this, bSelect ); - return MovePage( fnPageNext, fnPageStart ); + return MovePage( GetNextFrame, GetFirstSub ); } void SwWrtShell::SttPrvPg( bool bSelect ) { ShellMoveCursor aTmp( this, bSelect ); - MovePage( fnPagePrev, fnPageStart ); + MovePage( GetPrevFrame, GetFirstSub ); } void SwWrtShell::EndNxtPg( bool bSelect ) { ShellMoveCursor aTmp( this, bSelect ); - MovePage( fnPageNext, fnPageEnd ); + MovePage( GetNextFrame, GetLastSub ); } bool SwWrtShell::EndPrvPg( bool bSelect ) { ShellMoveCursor aTmp( this, bSelect ); - return MovePage( fnPagePrev, fnPageEnd ); + return MovePage( GetPrevFrame, GetLastSub ); } bool SwWrtShell::SttPg( bool bSelect ) { ShellMoveCursor aTmp( this, bSelect ); - return MovePage( fnPageCurr, fnPageStart ); + return MovePage( GetThisFrame, GetFirstSub ); } bool SwWrtShell::EndPg( bool bSelect ) { ShellMoveCursor aTmp( this, bSelect ); - return MovePage( fnPageCurr, fnPageEnd ); + return MovePage( GetThisFrame, GetLastSub ); } bool SwWrtShell::SttPara( bool bSelect ) |