summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-11-16 10:45:42 +0100
committerJan Holesovsky <kendy@collabora.com>2015-11-16 11:48:09 +0100
commit92798feb43fa4c14845c4bcc31330e406a5b5f07 (patch)
treeaec24312fa4e411dfeef0f9e3991351cfa6ffb5c /sw
parent0f64e580ff08a6f76327f0b77f79abbbb044d009 (diff)
sw: Kill unused member.
Change-Id: I2c4de63330a18c4354293d0220e5320eda7d67e4
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/findcoll.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/crsr/findcoll.cxx b/sw/source/core/crsr/findcoll.cxx
index d99e98cb8942..dea31786b436 100644
--- a/sw/source/core/crsr/findcoll.cxx
+++ b/sw/source/core/crsr/findcoll.cxx
@@ -31,10 +31,8 @@
struct SwFindParaFormatColl : public SwFindParas
{
const SwTextFormatColl *pFormatColl, *pReplColl;
- SwCursor& rCursor;
- SwFindParaFormatColl( const SwTextFormatColl& rFormatColl,
- const SwTextFormatColl* pRpColl, SwCursor& rCrsr )
- : pFormatColl( &rFormatColl ), pReplColl( pRpColl ), rCursor( rCrsr )
+ SwFindParaFormatColl(const SwTextFormatColl& rFormatColl, const SwTextFormatColl* pRpColl)
+ : pFormatColl( &rFormatColl ), pReplColl( pRpColl )
{}
virtual ~SwFindParaFormatColl() {}
virtual int Find( SwPaM* , SwMoveFn , const SwPaM*, bool bInReadOnly ) override;
@@ -86,7 +84,7 @@ sal_uLong SwCursor::Find( const SwTextFormatColl& rFormatColl, SwDocPositions nS
&aRewriter );
}
- SwFindParaFormatColl aSwFindParaFormatColl( rFormatColl, pReplFormatColl, *this );
+ SwFindParaFormatColl aSwFindParaFormatColl(rFormatColl, pReplFormatColl);
sal_uLong nRet = FindAll( aSwFindParaFormatColl, nStart, nEnd, eFndRngs, bCancel );
pDoc->SetOle2Link( aLnk );