summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/abpfinalpage.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-30 11:46:15 +0200
committerNoel Grandin <noel@peralex.com>2014-05-02 08:49:22 +0200
commit7ae4102f171c5f0d452fa78c5c17722bc9649fc5 (patch)
tree40ff03aeaabe4adfdd90bdb82cb6ef6b80381795 /extensions/source/abpilot/abpfinalpage.cxx
parent7d2cf383667106efe3e2ea6099fe52206b685c5d (diff)
extensions: sal_Bool->bool
Change-Id: I1730f99c08690138e9aa7aba54304fd7bc51491d
Diffstat (limited to 'extensions/source/abpilot/abpfinalpage.cxx')
-rw-r--r--extensions/source/abpilot/abpfinalpage.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx
index 871f4be90a81..8fd56ab149d3 100644
--- a/extensions/source/abpilot/abpfinalpage.cxx
+++ b/extensions/source/abpilot/abpfinalpage.cxx
@@ -66,19 +66,19 @@ namespace abp
}
- sal_Bool FinalPage::isValidName() const
+ bool FinalPage::isValidName() const
{
OUString sCurrentName(m_aName.GetText());
if (sCurrentName.isEmpty())
// the name must not be empty
- return sal_False;
+ return false;
if ( m_aInvalidDataSourceNames.find( sCurrentName ) != m_aInvalidDataSourceNames.end() )
// there already is a data source with this name
- return sal_False;
+ return false;
- return sal_True;
+ return true;
}
@@ -180,9 +180,9 @@ namespace abp
void FinalPage::implCheckName()
{
- sal_Bool bValidName = isValidName();
- sal_Bool bEmptyName = m_aName.GetText().isEmpty();
- sal_Bool bEmptyLocation = m_aLocation.GetText().isEmpty();
+ bool bValidName = isValidName();
+ bool bEmptyName = m_aName.GetText().isEmpty();
+ bool bEmptyLocation = m_aLocation.GetText().isEmpty();
// enable or disable the finish button
getDialog()->enableButtons( WZB_FINISH, !bEmptyLocation && (!m_aRegisterName.IsChecked() || bValidName) );
@@ -201,7 +201,7 @@ namespace abp
IMPL_LINK_NOARG(FinalPage, OnRegister)
{
- sal_Bool bEnable = m_aRegisterName.IsChecked();
+ bool bEnable = m_aRegisterName.IsChecked();
m_aNameLabel.Enable(bEnable);
m_aName.Enable(bEnable);
implCheckName();