diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 14:26:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 10:00:07 +0200 |
commit | f0a563cce1c6e6f6babbe33bc3382d4ad4439754 (patch) | |
tree | be9c7933bd2ed1c5468b4d9f85aaaf5ed048a13d /sw/inc/cshtyp.hxx | |
parent | 8c0db3e8ac158c8e131085843fcc326073e28c05 (diff) |
Get rid of a pointless indirect function pointer variable
Change-Id: Ibcfac031bb0891b4849dc48904893bb891887788
Diffstat (limited to 'sw/inc/cshtyp.hxx')
-rw-r--r-- | sw/inc/cshtyp.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/cshtyp.hxx b/sw/inc/cshtyp.hxx index ac1761b400f6..75962455ab3b 100644 --- a/sw/inc/cshtyp.hxx +++ b/sw/inc/cshtyp.hxx @@ -66,7 +66,9 @@ extern SwMoveFnCollection const & fnTableEnd; // Direction-parameter for MoveColumn typedef SwLayoutFrame * (*SwWhichColumn)( const SwLayoutFrame * ); typedef SwContentFrame * (*SwPosColumn)( const SwLayoutFrame * ); -extern SwWhichColumn fnColumnPrev, fnColumnCurr, fnColumnNext; +SwLayoutFrame* GetPrevColumn( const SwLayoutFrame* pLayFrame ); +SwLayoutFrame* GetCurrColumn( const SwLayoutFrame* pLayFrame ); +SwLayoutFrame* GetNextColumn( const SwLayoutFrame* pLayFrame ); extern SwPosColumn fnColumnStart, fnColumnEnd; // Direction-parameter for MoveRegion (ranges!) |