diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-18 08:45:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-18 08:46:12 +0200 |
commit | c8ee3be0e08c435b106f0ac4b76618b33333b040 (patch) | |
tree | f436b3b6f4287729144630a047698046ab69e08b /sw/source/core/txtnode | |
parent | eb76c8f62a578ddc67a6442e87ec81845e5a73d0 (diff) |
convert Link<> to typed
Change-Id: I124ed873862684efe7cab52c26d13c6621d49aab
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r-- | sw/source/core/txtnode/txtatr2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/txtnode/txtatr2.cxx b/sw/source/core/txtnode/txtatr2.cxx index 34483d974781..e9bbcc449a2a 100644 --- a/sw/source/core/txtnode/txtatr2.cxx +++ b/sw/source/core/txtnode/txtatr2.cxx @@ -141,11 +141,11 @@ SwCharFormat* SwTextINetFormat::GetCharFormat() // JP 10.02.2000, Bug 72806: dont modify the doc for getting the // correct charstyle. bool bResetMod = !pDoc->getIDocumentState().IsModified(); - Link<> aOle2Lnk; + Link<bool,void> aOle2Lnk; if ( bResetMod ) { aOle2Lnk = pDoc->GetOle2Link(); - pDoc->SetOle2Link( Link<>() ); + pDoc->SetOle2Link( Link<bool,void>() ); } pRet = IsPoolUserFormat( nId ) @@ -263,11 +263,11 @@ SwCharFormat* SwTextRuby::GetCharFormat() // JP 10.02.2000, Bug 72806: dont modify the doc for getting the // correct charstyle. const bool bResetMod = !pDoc->getIDocumentState().IsModified(); - Link<> aOle2Lnk; + Link<bool,void> aOle2Lnk; if( bResetMod ) { aOle2Lnk = pDoc->GetOle2Link(); - const_cast<SwDoc*>(pDoc)->SetOle2Link( Link<>() ); + const_cast<SwDoc*>(pDoc)->SetOle2Link( Link<bool,void>() ); } pRet = IsPoolUserFormat( nId ) |