diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-24 15:42:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-25 14:32:56 +0200 |
commit | 436cd900956b5fd0b6583954c002f8c28ca32698 (patch) | |
tree | 00bf0fb7c6daa0041670ce5209e5912780520a66 /cui/source/dialogs/linkdlg.cxx | |
parent | c849d750eb751d3f2b99d23cca1c8c08672ff379 (diff) |
svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
Diffstat (limited to 'cui/source/dialogs/linkdlg.cxx')
-rw-r--r-- | cui/source/dialogs/linkdlg.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx index a529574c7c29..b7c95ffac19c 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -163,7 +163,7 @@ IMPL_LINK( SvBaseLinksDlg, LinksSelectHdl, SvTabListBox *, pSvTabListBox ) sal_uInt16 nObjectType = pLink->GetObjType(); if((OBJECT_CLIENT_FILE & nObjectType) != OBJECT_CLIENT_FILE) { - pSvTabListBox->SelectAll(sal_False); + pSvTabListBox->SelectAll(false); pSvTabListBox->Select(pEntry); nSelectionCount = 1; } @@ -177,7 +177,7 @@ IMPL_LINK( SvBaseLinksDlg, LinksSelectHdl, SvTabListBox *, pSvTabListBox ) pLink = (SvBaseLink*)pEntry->GetUserData(); DBG_ASSERT(pLink, "Wo ist der Link?"); if( (OBJECT_CLIENT_FILE & pLink->GetObjType()) != OBJECT_CLIENT_FILE ) - pSvTabListBox->Select( pEntry, sal_False ); + pSvTabListBox->Select( pEntry, false ); } } @@ -329,7 +329,7 @@ IMPL_LINK_NOARG(SvBaseLinksDlg, UpdateNowClickHdl) { SvTreeListEntry* pSelEntry = rListBox.FirstSelected(); if( pE != pSelEntry ) - rListBox.Select( pSelEntry, sal_False ); + rListBox.Select( pSelEntry, false ); rListBox.Select( pE ); rListBox.MakeVisible( pE ); } @@ -502,7 +502,7 @@ IMPL_LINK( SvBaseLinksDlg, UpdateWaitingHdl, Timer*, pTimer ) { (void)pTimer; - Links().SetUpdateMode(sal_False); + Links().SetUpdateMode(false); for( sal_uLong nPos = Links().GetEntryCount(); nPos; ) { SvTreeListEntry* pBox = Links().GetEntry( --nPos ); @@ -515,7 +515,7 @@ IMPL_LINK( SvBaseLinksDlg, UpdateWaitingHdl, Timer*, pTimer ) Links().SetEntryText( sCur, pBox, 3 ); } } - Links().SetUpdateMode(sal_True); + Links().SetUpdateMode(true); return 0; } @@ -540,13 +540,13 @@ IMPL_LINK( SvBaseLinksDlg, EndEditHdl, sfx2::SvBaseLink*, _pLink ) if( bLinkFnd ) { - Links().SetUpdateMode(sal_False); + Links().SetUpdateMode(false); Links().GetModel()->Remove( Links().GetEntry( nPos ) ); SvTreeListEntry* pToUnselect = Links().FirstSelected(); InsertEntry( *_pLink, nPos, sal_True ); if(pToUnselect) - Links().Select(pToUnselect, sal_False); - Links().SetUpdateMode(sal_True); + Links().Select(pToUnselect, false); + Links().SetUpdateMode(true); } else { @@ -585,7 +585,7 @@ void SvBaseLinksDlg::SetManager( LinkManager* pNewMgr ) if( pNewMgr ) // update has to be stopped before clear - Links().SetUpdateMode( sal_False ); + Links().SetUpdateMode( false ); Links().Clear(); pLinkMgr = pNewMgr; @@ -613,7 +613,7 @@ void SvBaseLinksDlg::SetManager( LinkManager* pNewMgr ) Links().Select( pEntry ); LinksSelectHdl( 0 ); } - Links().SetUpdateMode( sal_True ); + Links().SetUpdateMode( true ); Links().Invalidate(); } } |