summaryrefslogtreecommitdiffstats
path: root/cui/source/dialogs/linkdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/linkdlg.cxx')
-rw-r--r--cui/source/dialogs/linkdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 7df24bd982d3..bfd3d5bbaee2 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -438,7 +438,7 @@ IMPL_LINK_NOARG( SvBaseLinksDlg, BreakLinkClickHdl, Button*, void )
// if somebody has forgotten to deregister himself
if( xLink.Is() )
- pLinkMgr->Remove( &xLink );
+ pLinkMgr->Remove( xLink.get() );
if( bNewLnkMgr )
{
@@ -477,7 +477,7 @@ IMPL_LINK_NOARG( SvBaseLinksDlg, BreakLinkClickHdl, Button*, void )
xLink->Closed();
// if somebody has forgotten to deregister himself
- pLinkMgr->Remove( &xLink );
+ pLinkMgr->Remove( xLink.get() );
bModified = true;
}
// then remove all selected entries