summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-20 11:14:54 +0200
committerNoel Grandin <noel@peralex.com>2014-03-24 08:12:09 +0200
commitf661ac03e049844fd529fb6ff02e628b32cac650 (patch)
treeec4c4c9ac697df5a3645e1d0c7d426d03968d50c /svtools/source/config
parentb1de52241c1c2045ceab4ea3526f51f145be2930 (diff)
svtools: sal_Bool->bool
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/extcolorcfg.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 3e14d99b7515..10dea024ee0c 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -621,7 +621,7 @@ void ExtendedColorConfig::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint
EditableExtendedColorConfig::EditableExtendedColorConfig() :
m_pImpl(new ExtendedColorConfig_Impl),
- m_bModified(sal_False)
+ m_bModified(false)
{
m_pImpl->LockBroadcast();
}
@@ -646,17 +646,17 @@ void EditableExtendedColorConfig::AddScheme(const OUString& rScheme )
m_pImpl->AddScheme(rScheme);
}
-sal_Bool EditableExtendedColorConfig::LoadScheme(const OUString& rScheme )
+bool EditableExtendedColorConfig::LoadScheme(const OUString& rScheme )
{
if(m_bModified)
m_pImpl->SetModified();
if(m_pImpl->IsModified())
m_pImpl->Commit();
- m_bModified = sal_False;
+ m_bModified = false;
m_pImpl->Load(rScheme);
//the name of the loaded scheme has to be committed separately
m_pImpl->CommitCurrentSchemeName();
- return sal_True;
+ return true;
}
// Changes the name of the current scheme but doesn't load it!
@@ -671,12 +671,12 @@ void EditableExtendedColorConfig::SetColorValue(
{
m_pImpl->SetColorConfigValue(_sName, rValue);
m_pImpl->ClearModified();
- m_bModified = sal_True;
+ m_bModified = true;
}
void EditableExtendedColorConfig::SetModified()
{
- m_bModified = sal_True;
+ m_bModified = true;
}
void EditableExtendedColorConfig::Commit()
@@ -685,7 +685,7 @@ void EditableExtendedColorConfig::Commit()
m_pImpl->SetModified();
if(m_pImpl->IsModified())
m_pImpl->Commit();
- m_bModified = sal_False;
+ m_bModified = false;
}
void EditableExtendedColorConfig::DisableBroadcast()