diff options
Diffstat (limited to 'sw/source/core/swg/SwXMLTextBlocks.cxx')
-rw-r--r-- | sw/source/core/swg/SwXMLTextBlocks.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx index f2007a1d6821..ab2b0df98d36 100644 --- a/sw/source/core/swg/SwXMLTextBlocks.cxx +++ b/sw/source/core/swg/SwXMLTextBlocks.cxx @@ -68,7 +68,7 @@ SwXMLTextBlocks::SwXMLTextBlocks( const OUString& rFile ) bReadOnly = true; pDoc = pDocSh->GetDoc(); xDocShellRef = pDocSh; - pDoc->SetOle2Link( Link() ); + pDoc->SetOle2Link( Link<>() ); pDoc->GetIDocumentUndoRedo().DoUndo(false); pDoc->acquire(); uno::Reference< embed::XStorage > refStg; @@ -114,7 +114,7 @@ SwXMLTextBlocks::SwXMLTextBlocks( const uno::Reference < embed::XStorage >& rStg bReadOnly = false; pDoc = pDocSh->GetDoc(); xDocShellRef = pDocSh; - pDoc->SetOle2Link( Link() ); + pDoc->SetOle2Link( Link<>() ); pDoc->GetIDocumentUndoRedo().DoUndo(false); pDoc->acquire(); |