summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-18 08:45:50 +0200
committerNoel Grandin <noel@peralex.com>2015-09-18 08:46:12 +0200
commitc8ee3be0e08c435b106f0ac4b76618b33333b040 (patch)
treef436b3b6f4287729144630a047698046ab69e08b /sw/source/core/crsr
parenteb76c8f62a578ddc67a6442e87ec81845e5a73d0 (diff)
convert Link<> to typed
Change-Id: I124ed873862684efe7cab52c26d13c6621d49aab
Diffstat (limited to 'sw/source/core/crsr')
-rw-r--r--sw/source/core/crsr/findattr.cxx4
-rw-r--r--sw/source/core/crsr/findcoll.cxx4
-rw-r--r--sw/source/core/crsr/findtxt.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/crsr/findattr.cxx b/sw/source/core/crsr/findattr.cxx
index a357a6164543..ff68ce97ccdb 100644
--- a/sw/source/core/crsr/findattr.cxx
+++ b/sw/source/core/crsr/findattr.cxx
@@ -1226,8 +1226,8 @@ sal_uLong SwCursor::Find( const SfxItemSet& rSet, bool bNoCollections,
{
// switch off OLE-notifications
SwDoc* pDoc = GetDoc();
- Link<> aLnk( pDoc->GetOle2Link() );
- pDoc->SetOle2Link( Link<>() );
+ Link<bool,void> aLnk( pDoc->GetOle2Link() );
+ pDoc->SetOle2Link( Link<bool,void>() );
bool bReplace = ( pSearchOpt && ( !pSearchOpt->replaceString.isEmpty() ||
!rSet.Count() ) ) ||
diff --git a/sw/source/core/crsr/findcoll.cxx b/sw/source/core/crsr/findcoll.cxx
index 762e53309f18..5523a25707c1 100644
--- a/sw/source/core/crsr/findcoll.cxx
+++ b/sw/source/core/crsr/findcoll.cxx
@@ -70,8 +70,8 @@ sal_uLong SwCursor::Find( const SwTextFormatColl& rFormatColl, SwDocPositions nS
{
// switch off OLE-notifications
SwDoc* pDoc = GetDoc();
- Link<> aLnk( pDoc->GetOle2Link() );
- pDoc->SetOle2Link( Link<>() );
+ Link<bool,void> aLnk( pDoc->GetOle2Link() );
+ pDoc->SetOle2Link( Link<bool,void>() );
bool const bStartUndo =
pDoc->GetIDocumentUndoRedo().DoesUndo() && pReplFormatColl;
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index e859a995b06d..02952b45ec28 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -710,8 +710,8 @@ sal_uLong SwCursor::Find( const SearchOptions& rSearchOpt, bool bSearchInNotes,
{
// switch off OLE-notifications
SwDoc* pDoc = GetDoc();
- Link<> aLnk( pDoc->GetOle2Link() );
- pDoc->SetOle2Link( Link<>() );
+ Link<bool,void> aLnk( pDoc->GetOle2Link() );
+ pDoc->SetOle2Link( Link<bool,void>() );
bool const bStartUndo = pDoc->GetIDocumentUndoRedo().DoesUndo() && bReplace;
if (bStartUndo)