diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 12:03:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-02 08:02:54 +0000 |
commit | 4978328534c0f759eea7d0c196046f1d53b06925 (patch) | |
tree | cf9dcd62c4f09dcd08115bbda2a8950678a38562 /cui | |
parent | 1461ebbbb5d47d90e31f0945a4878a68fbee5213 (diff) |
convert method names in tools::SvRef to be more like our other..
reference classes, uno::Reference and rtl::Reference.
Specifically rename Is()->is() and Clear()->clear().
Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae
Reviewed-on: https://gerrit.libreoffice.org/33576
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/linkdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx index f2161ec4947d..5b671ad0f3e5 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -421,7 +421,7 @@ IMPL_LINK_NOARG( SvBaseLinksDlg, BreakLinkClickHdl, Button*, void ) { sal_uLong nPos; tools::SvRef<SvBaseLink> xLink = GetSelEntry( &nPos ); - if( !xLink.Is() ) + if( !xLink.is() ) return; ScopedVclPtrInstance< QueryBox > aBox( this, WB_YES_NO | WB_DEF_YES, aStrCloselinkmsg ); @@ -437,7 +437,7 @@ IMPL_LINK_NOARG( SvBaseLinksDlg, BreakLinkClickHdl, Button*, void ) xLink->Closed(); // if somebody has forgotten to deregister himself - if( xLink.Is() ) + if( xLink.is() ) pLinkMgr->Remove( xLink.get() ); if( bNewLnkMgr ) @@ -508,7 +508,7 @@ IMPL_LINK_NOARG( SvBaseLinksDlg, UpdateWaitingHdl, Timer*, void ) { SvTreeListEntry* pBox = m_pTbLinks->GetEntry( --nPos ); tools::SvRef<SvBaseLink> xLink( static_cast<SvBaseLink*>(pBox->GetUserData()) ); - if( xLink.Is() ) + if( xLink.is() ) { OUString sCur( ImplGetStateStr( *xLink ) ), sOld( SvTabListBox::GetEntryText( pBox, 3 ) ); @@ -595,7 +595,7 @@ void SvBaseLinksDlg::SetManager( LinkManager* pNewMgr ) for( size_t n = 0; n < rLnks.size(); ++n ) { tools::SvRef<SvBaseLink>& rLinkRef = rLnks[ n ]; - if( !rLinkRef.Is() ) + if( !rLinkRef.is() ) { rLnks.erase( rLnks.begin() + n ); --n; |