summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 14:13:11 +0200
committerNoel Grandin <noel@peralex.com>2014-02-21 12:19:20 +0200
commit87612bfee4ca5165a358d73e891e440bf988b725 (patch)
treeb69b1d9a295450b4c1e0228d52b46949a58dc99d /editeng
parent8be2cbc856fb5ba61203872d8f01ed8162aa4256 (diff)
sal_Bool->bool
Change-Id: If8d90d507e29caaf8ceb41deb9cb5eb54476773e
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/acorrcfg.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 04942ae9be09..4ec25e270b6a 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -40,12 +40,12 @@ using namespace com::sun::star::uno;
SvxAutoCorrCfg::SvxAutoCorrCfg() :
aBaseConfig(*this),
aSwConfig(*this),
- bFileRel(sal_True),
- bNetRel(sal_True),
- bAutoTextTip(sal_True),
- bAutoTextPreview(sal_False),
- bAutoFmtByInput(sal_True),
- bSearchInAllCategories(sal_False)
+ bFileRel(true),
+ bNetRel(true),
+ bAutoTextTip(true),
+ bAutoTextPreview(false),
+ bAutoFmtByInput(true),
+ bSearchInAllCategories(false)
{
SvtPathOptions aPathOpt;
OUString sSharePath, sUserPath, sAutoPath( aPathOpt.GetAutoCorrectPath() );
@@ -68,8 +68,8 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() :
}
pAutoCorrect = new SvxAutoCorrect( sSharePath, sUserPath );
- aBaseConfig.Load(sal_True);
- aSwConfig.Load(sal_True);
+ aBaseConfig.Load(true);
+ aSwConfig.Load(true);
}
SvxAutoCorrCfg::~SvxAutoCorrCfg()
@@ -122,7 +122,7 @@ Sequence<OUString> SvxBaseAutoCorrCfg::GetPropertyNames()
return aNames;
}
-void SvxBaseAutoCorrCfg::Load(sal_Bool bInit)
+void SvxBaseAutoCorrCfg::Load(bool bInit)
{
Sequence<OUString> aNames = GetPropertyNames();
Sequence<Any> aValues = GetProperties(aNames);
@@ -325,7 +325,7 @@ void SvxBaseAutoCorrCfg::Commit()
void SvxBaseAutoCorrCfg::Notify( const Sequence<OUString>& /* aPropertyNames */)
{
- Load(sal_False);
+ Load(false);
}
Sequence<OUString> SvxSwAutoCorrCfg::GetPropertyNames()
@@ -388,7 +388,7 @@ Sequence<OUString> SvxSwAutoCorrCfg::GetPropertyNames()
return aNames;
}
-void SvxSwAutoCorrCfg::Load(sal_Bool bInit)
+void SvxSwAutoCorrCfg::Load(bool bInit)
{
Sequence<OUString> aNames = GetPropertyNames();
Sequence<Any> aValues = GetProperties(aNames);
@@ -644,7 +644,7 @@ void SvxSwAutoCorrCfg::Commit()
void SvxSwAutoCorrCfg::Notify( const Sequence<OUString>& /* aPropertyNames */ )
{
- Load(sal_False);
+ Load(false);
}
namespace