diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 16:03:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 10:00:07 +0200 |
commit | bf02fe3b4db51c8e5c80c3438f0fc166ef386861 (patch) | |
tree | 2b3e595ea7719e1e8477eda68a788bda2a18c81d /sw/inc/cshtyp.hxx | |
parent | f1226d19d944791fc0150c064d1a9985d5913907 (diff) |
inline some get-function-pointer-collection functions
no need to have two different ways of getting to the SwMoveFnCollection
structs, they are already exposed and used as global constants
Change-Id: Iec6e1ee2d9cd2edb8237f24d72024652271a9d5e
Diffstat (limited to 'sw/inc/cshtyp.hxx')
-rw-r--r-- | sw/inc/cshtyp.hxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sw/inc/cshtyp.hxx b/sw/inc/cshtyp.hxx index baefa82390fc..3546bb1ff256 100644 --- a/sw/inc/cshtyp.hxx +++ b/sw/inc/cshtyp.hxx @@ -45,8 +45,8 @@ typedef bool (*SwWhichPara)( SwPaM&, SwMoveFnCollection const & ); bool GoPrevPara( SwPaM&, SwMoveFnCollection const &); SW_DLLPUBLIC bool GoCurrPara( SwPaM&, SwMoveFnCollection const &); bool GoNextPara( SwPaM&, SwMoveFnCollection const &); -extern SwMoveFnCollection const & fnParaStart; -extern SwMoveFnCollection const & fnParaEnd; +extern SW_DLLPUBLIC SwMoveFnCollection const & fnParaStart; +extern SW_DLLPUBLIC SwMoveFnCollection const & fnParaEnd; // Direction-parameter for MoveSection. typedef bool (*SwWhichSection)( SwPaM&, SwMoveFnCollection const & ); @@ -60,8 +60,8 @@ typedef bool (*SwWhichTable)( SwPaM&, SwMoveFnCollection const &, bool bInReadOn SW_DLLPUBLIC bool GotoPrevTable( SwPaM&, SwMoveFnCollection const &, bool bInReadOnly ); SW_DLLPUBLIC bool GotoCurrTable( SwPaM&, SwMoveFnCollection const &, bool bInReadOnly ); bool GotoNextTable( SwPaM&, SwMoveFnCollection const &, bool bInReadOnly ); -extern SwMoveFnCollection const & fnTableStart; -extern SwMoveFnCollection const & fnTableEnd; +extern SW_DLLPUBLIC SwMoveFnCollection const & fnTableStart; +extern SW_DLLPUBLIC SwMoveFnCollection const & fnTableEnd; // Direction-parameter for MoveColumn typedef SwLayoutFrame * (*SwWhichColumn)( const SwLayoutFrame * ); @@ -110,12 +110,6 @@ enum class SwDocPositions OtherEnd }; -SW_DLLPUBLIC SwMoveFnCollection const & GetfnParaStart(); -SW_DLLPUBLIC SwMoveFnCollection const & GetfnParaEnd(); - -SW_DLLPUBLIC SwMoveFnCollection const & GetfnTableStart(); -SW_DLLPUBLIC SwMoveFnCollection const & GetfnTableEnd(); - #endif // INCLUDED_SW_INC_CSHTYP_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |