diff options
Diffstat (limited to 'sw/source/core/crsr/findcoll.cxx')
-rw-r--r-- | sw/source/core/crsr/findcoll.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/findcoll.cxx b/sw/source/core/crsr/findcoll.cxx index 8468eb4e21d1..62e9e799fb18 100644 --- a/sw/source/core/crsr/findcoll.cxx +++ b/sw/source/core/crsr/findcoll.cxx @@ -70,8 +70,8 @@ sal_uLong SwCursor::Find( const SwTxtFmtColl& rFmtColl, SwDocPositions nStart, { // switch off OLE-notifications SwDoc* pDoc = GetDoc(); - Link aLnk( pDoc->GetOle2Link() ); - pDoc->SetOle2Link( Link() ); + Link<> aLnk( pDoc->GetOle2Link() ); + pDoc->SetOle2Link( Link<>() ); bool const bStartUndo = pDoc->GetIDocumentUndoRedo().DoesUndo() && pReplFmtColl; |