summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-03 08:56:11 +0200
committerNoel Grandin <noel@peralex.com>2014-03-03 08:59:38 +0200
commitded5965ce8098c1d46078be37264b15ca8b5a3f1 (patch)
treebcdbbf0a6f34dacdde20ff65d2cc17f27b52b55a /editeng
parent82ce4dd60785cf08f7844d20fd8051d6b30c3bf1 (diff)
editeng: sal_Bool->bool
Change-Id: I51b4ae54c2c440d38879439f74d4fea39d243004
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/unolingu.cxx6
-rw-r--r--editeng/source/uno/unoforou.cxx14
-rw-r--r--editeng/source/uno/unoipset.cxx2
-rw-r--r--editeng/source/uno/unotext.cxx2
4 files changed, 12 insertions, 12 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 4b49b3300727..5746459817b0 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -500,14 +500,14 @@ void LinguMgrExitLstnr::AtExit()
LinguMgr::xIgnoreAll = 0;
LinguMgr::xChangeAll = 0;
- LinguMgr::bExiting = sal_True;
+ LinguMgr::bExiting = true;
LinguMgr::pExitLstnr = 0;
}
LinguMgrExitLstnr * LinguMgr::pExitLstnr = 0;
-sal_Bool LinguMgr::bExiting = sal_False;
+bool LinguMgr::bExiting = false;
uno::Reference< XLinguServiceManager2 > LinguMgr::xLngSvcMgr = 0;
uno::Reference< XSpellChecker1 > LinguMgr::xSpell = 0;
uno::Reference< XHyphenator > LinguMgr::xHyph = 0;
@@ -808,7 +808,7 @@ SvxAlternativeSpelling SvxGetAltSpelling(
aRes.aReplacement = OUString( aAltWord.copy( nL, nAltLen - nL - nR ) );
aRes.nChangedPos = (sal_Int16) nL;
aRes.nChangedLength = nLen - nL - nR;
- aRes.bIsAltSpelling = sal_True;
+ aRes.bIsAltSpelling = true;
aRes.xHyphWord = rHyphWord;
}
return aRes;
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index 6f5200009033..e6204f482b27 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -39,7 +39,7 @@ using namespace ::com::sun::star;
-SvxOutlinerForwarder::SvxOutlinerForwarder( Outliner& rOutl, sal_Bool bOutlText /* = sal_False */ ) :
+SvxOutlinerForwarder::SvxOutlinerForwarder( Outliner& rOutl, bool bOutlText /* = false */ ) :
rOutliner( rOutl ),
bOutlinerText( bOutlText ),
mpAttribsCache( NULL ),
@@ -514,7 +514,7 @@ void SvxOutlinerForwarder::SetNumberingStartValue( sal_Int32 nPara, sal_Int32 n
}
}
-sal_Bool SvxOutlinerForwarder::IsParaIsNumberingRestart( sal_Int32 nPara )
+bool SvxOutlinerForwarder::IsParaIsNumberingRestart( sal_Int32 nPara )
{
if( 0 <= nPara && nPara < GetParagraphCount() )
{
@@ -523,11 +523,11 @@ sal_Bool SvxOutlinerForwarder::IsParaIsNumberingRestart( sal_Int32 nPara )
else
{
OSL_FAIL( "SvxOutlinerForwarder::IsParaIsNumberingRestart)(), Invalid paragraph index");
- return sal_False;
+ return false;
}
}
-void SvxOutlinerForwarder::SetParaIsNumberingRestart( sal_Int32 nPara, sal_Bool bParaIsNumberingRestart )
+void SvxOutlinerForwarder::SetParaIsNumberingRestart( sal_Int32 nPara, bool bParaIsNumberingRestart )
{
if( 0 <= nPara && nPara < GetParagraphCount() )
{
@@ -589,12 +589,12 @@ void SvxTextForwarder::SetNumberingStartValue( sal_Int32, sal_Int32 )
{
}
-sal_Bool SvxTextForwarder::IsParaIsNumberingRestart( sal_Int32 )
+bool SvxTextForwarder::IsParaIsNumberingRestart( sal_Int32 )
{
- return sal_False;
+ return false;
}
-void SvxTextForwarder::SetParaIsNumberingRestart( sal_Int32, sal_Bool )
+void SvxTextForwarder::SetParaIsNumberingRestart( sal_Int32, bool )
{
}
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 6975695dcb05..2222d8e762a1 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -50,7 +50,7 @@ struct SvxIDPropertyCombine
};
-SvxItemPropertySet::SvxItemPropertySet( const SfxItemPropertyMapEntry* pMap, SfxItemPool& rItemPool, sal_Bool bConvertTwips )
+SvxItemPropertySet::SvxItemPropertySet( const SfxItemPropertyMapEntry* pMap, SfxItemPool& rItemPool, bool bConvertTwips )
: m_aPropertyMap( pMap ),
_pMap(pMap), mbConvertTwips(bConvertTwips), mrItemPool( rItemPool )
{
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 9d3f7c080daf..c9a3eccea4e3 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1240,7 +1240,7 @@ void SvxUnoTextRangeBase::_setPropertyToDefault(SvxTextForwarder* pForwarder, co
}
else if( pMap->nWID == WID_PARAISNUMBERINGRESTART )
{
- pForwarder->SetParaIsNumberingRestart( maSelection.nStartPara, sal_False );
+ pForwarder->SetParaIsNumberingRestart( maSelection.nStartPara, false );
}
else
{