summaryrefslogtreecommitdiff
path: root/sw/inc/cshtyp.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-29 13:50:46 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-29 14:46:59 +0300
commite66fe457ff73520877820ef0c5d35ecffda73105 (patch)
tree2ac36a1c20ebf968120f7f9704306d5428d72b2e /sw/inc/cshtyp.hxx
parent74f6d0df265a389f9e0668f322cec183451af2ff (diff)
Get rid of a pointless indirect function pointer variable
Sure, lots of them left. And actually, I don't know, maybe there is some deeper reason why such are used in the sw coding style. Feel free to revert these commits. Change-Id: I5a1c31fe32b3bdf6d40489d029be165c38a8ba05
Diffstat (limited to 'sw/inc/cshtyp.hxx')
-rw-r--r--sw/inc/cshtyp.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/cshtyp.hxx b/sw/inc/cshtyp.hxx
index 44d9dcc2b333..1dbe447ce5c4 100644
--- a/sw/inc/cshtyp.hxx
+++ b/sw/inc/cshtyp.hxx
@@ -46,9 +46,10 @@ extern SwPosPara fnParaStart, fnParaEnd;
// Direction-parameter for MoveSection.
typedef SwMoveFnCollection* SwPosSection;
typedef bool (*SwWhichSection)( SwPaM&, SwPosSection );
-extern SwWhichSection fnSectionCurr;
extern SwPosSection fnSectionStart, fnSectionEnd;
+bool GoCurrSection( SwPaM&, SwPosSection);
+
// Direction-parameter for MoveTable
typedef SwMoveFnCollection* SwPosTable;
typedef bool (*SwWhichTable)( SwPaM&, SwPosTable, bool bInReadOnly );