summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-24 15:42:28 +0200
committerNoel Grandin <noel@peralex.com>2014-03-25 14:32:56 +0200
commit436cd900956b5fd0b6583954c002f8c28ca32698 (patch)
tree00bf0fb7c6daa0041670ce5209e5912780520a66 /cui/source/dialogs
parentc849d750eb751d3f2b99d23cca1c8c08672ff379 (diff)
svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx6
-rw-r--r--cui/source/dialogs/linkdlg.cxx20
-rw-r--r--cui/source/dialogs/scriptdlg.cxx4
-rw-r--r--cui/source/dialogs/thesdlg.cxx4
4 files changed, 17 insertions, 17 deletions
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index 77aff951ff2d..eb7ffba103b5 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -433,7 +433,7 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
pEntry = maLbTree.InsertEntry ( aStrDisplayname,
aBmp, aBmp,
pParentEntry,
- sal_False, TREELIST_APPEND,
+ false, TREELIST_APPEND,
(void*)pData );
nEntries++;
}
@@ -442,7 +442,7 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
// insert Displayname into treelist without bitmaps
pEntry = maLbTree.InsertEntry ( aStrDisplayname,
pParentEntry,
- sal_False, TREELIST_APPEND,
+ false, TREELIST_APPEND,
(void*)pData );
nEntries++;
}
@@ -452,7 +452,7 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
// insert Displayname into treelist without bitmaps
pEntry = maLbTree.InsertEntry ( aStrDisplayname,
pParentEntry,
- sal_False, TREELIST_APPEND,
+ false, TREELIST_APPEND,
(void*)pData );
nEntries++;
}
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();
}
}
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index 90cac374df88..df8fc2c0887d 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -155,7 +155,7 @@ void SFTreeListBox::deleteAllTree()
void SFTreeListBox::Init( const OUString& language )
{
- SetUpdateMode( sal_False );
+ SetUpdateMode( false );
deleteAllTree();
@@ -245,7 +245,7 @@ void SFTreeListBox::Init( const OUString& language )
SAL_WNODEPRECATED_DECLARATIONS_POP
}
- SetUpdateMode( sal_True );
+ SetUpdateMode( true );
}
Reference< XInterface >
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 23e6b56c7816..194654823346 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -297,7 +297,7 @@ bool SvxThesaurusDialog::UpdateAlternativesBox_Impl()
const sal_Int32 nMeanings = aMeanings.getLength();
const uno::Reference< linguistic2::XMeaning > *pMeanings = aMeanings.getConstArray();
- m_pAlternativesCT->SetUpdateMode( sal_False );
+ m_pAlternativesCT->SetUpdateMode( false );
// clear old user data of control before creating new ones via AddEntry below
m_pAlternativesCT->ClearExtraData();
@@ -317,7 +317,7 @@ bool SvxThesaurusDialog::UpdateAlternativesBox_Impl()
m_pAlternativesCT->AddEntry( -1, pSynonyms[k], false );
}
- m_pAlternativesCT->SetUpdateMode( sal_True );
+ m_pAlternativesCT->SetUpdateMode( true );
return nMeanings > 0;
}