diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 11:48:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-31 10:00:07 +0200 |
commit | fd405ab457183f1c0d48d47bbd3308edb2e30242 (patch) | |
tree | faad42c1d8009c5d6118df7722216151a95b5812 /sw/inc/swcrsr.hxx | |
parent | 4300656d9f0015c6a894b76ddcf537b446d0b9ba (diff) |
remove the SwMoveFnCollection* typedefs
which were just obscuring the code, and pass it around by const&
Change-Id: I4fce5ef4bf616867c46a145f660a8e90d3c94462
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r-- | sw/inc/swcrsr.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx index 9d36721642c1..122dc4c0d7db 100644 --- a/sw/inc/swcrsr.hxx +++ b/sw/inc/swcrsr.hxx @@ -39,7 +39,7 @@ const int FIND_NO_RING = 2; struct SwFindParas { - virtual int Find( SwPaM*, SwMoveFn, const SwPaM*, bool ) = 0; + virtual int Find( SwPaM*, SwMoveFnCollection const &, const SwPaM*, bool ) = 0; virtual bool IsReplaceMode() const = 0; protected: @@ -109,7 +109,7 @@ public: virtual void SaveTableBoxContent( const SwPosition* pPos ); void FillFindPos( SwDocPositions ePos, SwPosition& rPos ) const; - SwMoveFnCollection* MakeFindRange( SwDocPositions, SwDocPositions, + SwMoveFnCollection const & MakeFindRange( SwDocPositions, SwDocPositions, SwPaM* ) const; sal_uLong Find( const css::util::SearchOptions2& rSearchOpt, @@ -185,10 +185,10 @@ public: bool GotoNextFootnoteAnchor(); bool GotoPrevFootnoteAnchor(); - bool MovePara( SwWhichPara, SwPosPara ); - bool MoveSection( SwWhichSection, SwPosSection ); - bool MoveTable( SwWhichTable, SwPosTable ); - bool MoveRegion( SwWhichRegion, SwPosRegion ); + bool MovePara( SwWhichPara, SwMoveFnCollection const & ); + bool MoveSection( SwWhichSection, SwMoveFnCollection const & ); + bool MoveTable( SwWhichTable, SwMoveFnCollection const & ); + bool MoveRegion( SwWhichRegion, SwMoveFnCollection const & ); // Is there a selection of content in table? // Return value indicates if cursor remains at its old position. |