summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-01-16 01:12:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-01-16 10:03:07 +0900
commite2d76d285611b5ab5b88f1849b7ffecd84c4aa65 (patch)
tree65a5c83184ba395f4ae40168938273628ef6a850 /sw/source/ui/dbui
parent604936e0dcf256fa5a2fb95054a2d06810dd9191 (diff)
sal_Bool to bool
Change-Id: I6997b288f444c7f0a982e88a9549569ed816493e
Diffstat (limited to 'sw/source/ui/dbui')
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx6
-rw-r--r--sw/source/ui/dbui/mmconfigitem.cxx4
-rw-r--r--sw/source/ui/dbui/mmgreetingspage.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index d75015600e96..1d2e4ce2abfe 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -293,7 +293,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, InsertDataHdl_Impl, ImageButton*, pButton
}
else
{
- sal_Bool bNext = pButton == &m_aNextSetIB;
+ bool bNext = pButton == &m_aNextSetIB;
sal_Int32 nPos = rConfig.GetResultSetPosition();
rConfig.MoveResultSet( bNext ? ++nPos : --nPos);
}
@@ -504,12 +504,12 @@ SwRestrictedComboBox::~SwRestrictedComboBox()
void SwRestrictedComboBox::KeyInput(const KeyEvent& rEvt)
{
- sal_Bool bCallParent = sal_True;
+ bool bCallParent = true;
if(rEvt.GetCharCode())
{
rtl::OUString sKey(rEvt.GetCharCode());
if( STRING_NOTFOUND != sForbiddenChars.Search(sKey))
- bCallParent = sal_False;
+ bCallParent = false;
}
if(bCallParent)
ComboBox::KeyInput(rEvt);
diff --git a/sw/source/ui/dbui/mmconfigitem.cxx b/sw/source/ui/dbui/mmconfigitem.cxx
index 04d631458c46..5e086fc777db 100644
--- a/sw/source/ui/dbui/mmconfigitem.cxx
+++ b/sw/source/ui/dbui/mmconfigitem.cxx
@@ -1265,7 +1265,7 @@ void SwMailMergeConfigItem::SetColumnAssignment( const SwDBData& rDBData,
const Sequence< ::rtl::OUString>& rList)
{
::std::vector<DBAddressDataAssignment>::iterator aAssignIter;
- sal_Bool bFound = sal_False;
+ bool bFound = false;
for(aAssignIter = m_pImpl->aAddressDataAssignments.begin();
aAssignIter != m_pImpl->aAddressDataAssignments.end(); ++aAssignIter)
{
@@ -1276,7 +1276,7 @@ void SwMailMergeConfigItem::SetColumnAssignment( const SwDBData& rDBData,
aAssignIter->aDBColumnAssignments = rList;
aAssignIter->bColumnAssignmentsChanged = true;
}
- bFound = sal_True;
+ bFound = true;
break;
}
}
diff --git a/sw/source/ui/dbui/mmgreetingspage.cxx b/sw/source/ui/dbui/mmgreetingspage.cxx
index 10b915101f1a..96244f415fba 100644
--- a/sw/source/ui/dbui/mmgreetingspage.cxx
+++ b/sw/source/ui/dbui/mmgreetingspage.cxx
@@ -412,7 +412,7 @@ IMPL_LINK(SwMailMergeGreetingsPage, InsertDataHdl_Impl, ImageButton*, pButton)
}
else
{
- sal_Bool bNext = pButton == &m_aNextSetIB;
+ bool bNext = pButton == &m_aNextSetIB;
sal_Int32 nPos = rConfig.GetResultSetPosition();
rConfig.MoveResultSet( bNext ? ++nPos : --nPos);
}