summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-04 08:28:38 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:14 +0200
commit5e36e2cb7b9a8e52f198525949da257acd87d8c6 (patch)
treea593fa2d0e02f5304aa401b4f9cfe166ed338654 /sw
parentd442a6460f5f1c897358a0e51727c90cd6746ae2 (diff)
svx: sal_Bool->bool
Change-Id: Ifd9279e7ccc671395caa1e6f3723e86062d2fb08
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/uibase/misc/redlndlg.cxx6
-rw-r--r--sw/source/ui/config/optcomp.cxx2
-rw-r--r--sw/source/ui/misc/swmodalredlineacceptdlg.cxx8
3 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/uibase/misc/redlndlg.cxx b/sw/source/core/uibase/misc/redlndlg.cxx
index f6ceee69026d..a46e9dce2e95 100644
--- a/sw/source/core/uibase/misc/redlndlg.cxx
+++ b/sw/source/core/uibase/misc/redlndlg.cxx
@@ -180,7 +180,7 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(Dialog *pParent, sal_Bool bAutoFmt) :
{
pActLB->InsertEntry(sFmtCollSet);
pActLB->InsertEntry(sAutoFormat);
- pTPView->ShowUndo(sal_True);
+ pTPView->ShowUndo(true);
pTPView->DisableUndo(); // no UNDO events yet
}
@@ -583,7 +583,7 @@ void SwRedlineAcceptDlg::InsertChildren(SwRedlineDataParent *pParent, const SwRa
{
RedlinData *pData = new RedlinData;
pData->pData = pRedlineChild;
- pData->bDisabled = sal_True;
+ pData->bDisabled = true;
sChild = GetRedlineText(rRedln, pData->aDateTime, nStack);
SvTreeListEntry* pChild = pTable->InsertEntry(sChild, pData, pParent->pTLBParent);
@@ -729,7 +729,7 @@ void SwRedlineAcceptDlg::InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd)
pData = new RedlinData;
pData->pData = pRedlineParent;
- pData->bDisabled = sal_False;
+ pData->bDisabled = false;
sParent = GetRedlineText(rRedln, pData->aDateTime);
pParent = pTable->InsertEntry(sParent, pData, 0, i);
diff --git a/sw/source/ui/config/optcomp.cxx b/sw/source/ui/config/optcomp.cxx
index fc66dd61ed2d..f0cd71a01815 100644
--- a/sw/source/ui/config/optcomp.cxx
+++ b/sw/source/ui/config/optcomp.cxx
@@ -325,7 +325,7 @@ IMPL_LINK_NOARG(SwCompatibilityOptPage, UseAsDefaultHdl)
sal_uInt16 nCount = static_cast< sal_uInt16 >( m_pOptionsLB->GetEntryCount() );
for ( sal_uInt16 i = 0; i < nCount; ++i )
{
- bool bChecked = ( m_pOptionsLB->IsChecked(i) != sal_False );
+ bool bChecked = m_pOptionsLB->IsChecked(i);
CompatibilityOptions eOption = static_cast< CompatibilityOptions >(i);
switch ( eOption )
{
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index 45ac31c15c75..81d3c18c6623 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -71,10 +71,10 @@ void SwModalRedlineAcceptDlg::AcceptAll( sal_Bool bAccept )
if (pFilterTP->IsDate() || pFilterTP->IsAuthor() ||
pFilterTP->IsRange() || pFilterTP->IsAction())
{
- pFilterTP->CheckDate(sal_False); // turn off all filters
- pFilterTP->CheckAuthor(sal_False);
- pFilterTP->CheckRange(sal_False);
- pFilterTP->CheckAction(sal_False);
+ pFilterTP->CheckDate(false); // turn off all filters
+ pFilterTP->CheckAuthor(false);
+ pFilterTP->CheckRange(false);
+ pFilterTP->CheckAction(false);
pImplDlg->FilterChangedHdl();
}