summaryrefslogtreecommitdiff
path: root/sw/inc/cshtyp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-30 10:23:19 +0200
committerNoel Grandin <noel@peralex.com>2016-08-31 10:00:07 +0200
commit9cd59f774621b99174af2cd698466d5c0d9a68e2 (patch)
treedd7917ef292fb65d3fa9060a5af54331c1378561 /sw/inc/cshtyp.hxx
parent488c8053dc824d4736b02020bb440d43c4933eb2 (diff)
Get rid of a pointless indirect function pointer variable
Change-Id: If6847f55e6a09970375998b6eee82ddefaf3eaed
Diffstat (limited to 'sw/inc/cshtyp.hxx')
-rw-r--r--sw/inc/cshtyp.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/cshtyp.hxx b/sw/inc/cshtyp.hxx
index 1dbe447ce5c4..dfa8c0d41681 100644
--- a/sw/inc/cshtyp.hxx
+++ b/sw/inc/cshtyp.hxx
@@ -33,9 +33,12 @@ typedef SwMoveFnCollection* SwMoveFn;
// Type definition for CursorShell.
// Direction-parameter for MovePage (initialized in SwContentFrame).
typedef SwLayoutFrame * (*SwWhichPage)( const SwLayoutFrame * );
+SwLayoutFrame *GetPrevFrame( const SwLayoutFrame *pFrame );
+SwLayoutFrame *GetThisFrame( const SwLayoutFrame *pFrame );
+SwLayoutFrame *GetNextFrame( const SwLayoutFrame *pFrame );
typedef SwContentFrame * (*SwPosPage)( const SwLayoutFrame * );
-extern SwWhichPage fnPagePrev, fnPageCurr, fnPageNext;
-extern SwPosPage fnPageStart, fnPageEnd;
+SwContentFrame *GetFirstSub( const SwLayoutFrame *pLayout );
+SwContentFrame *GetLastSub( const SwLayoutFrame *pLayout );
// Direction-parameter for MovePara (initialized in SwContentFrame).
typedef SwMoveFnCollection* SwPosPara;