summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-03-04 23:11:48 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-03-04 23:14:41 +0900
commitce33f85ffdb8612c9fba9356acdaa93a08a9ba41 (patch)
tree26f5c53749cbefe24c8bfe0380e553131ef285a6 /editeng
parentf348749a83cb985c5bf40603a0c8b4e3b5950eab (diff)
sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/textconv.cxx2
-rw-r--r--editeng/source/items/frmitems.cxx4
-rw-r--r--editeng/source/misc/svxacorr.cxx2
-rw-r--r--editeng/source/misc/txtrange.cxx2
-rw-r--r--editeng/source/rtf/rtfitem.cxx6
-rw-r--r--editeng/source/rtf/svxrtf.cxx8
6 files changed, 12 insertions, 12 deletions
diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx
index 1431894dc84a..9be883c2d853 100644
--- a/editeng/source/editeng/textconv.cxx
+++ b/editeng/source/editeng/textconv.cxx
@@ -478,7 +478,7 @@ void TextConvWrapper::ChangeText( const String &rNewText,
"mismatch between string length and sequence length!" );
// find all substrings that need to be replaced (and only those)
- while (sal_True)
+ while (true)
{
// get index in original text that matches nPos in new text
xub_StrLen nIndex;
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 698a235bedea..dab5e82e2648 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -2286,7 +2286,7 @@ SfxPoolItem* SvxBoxItem::Create( SvStream& rStrm, sal_uInt16 nIVersion ) const
BOX_LINE_RIGHT, BOX_LINE_BOTTOM };
sal_Int8 cLine;
- while( sal_True )
+ while( true )
{
rStrm >> cLine;
@@ -2657,7 +2657,7 @@ SfxPoolItem* SvxBoxInfoItem::Create( SvStream& rStrm, sal_uInt16 ) const
pAttr->SetMinDist( ( cFlags & 0x04 ) != 0 );
pAttr->SetDefDist( _nDefDist );
- while( sal_True )
+ while( true )
{
sal_Int8 cLine;
rStrm >> cLine;
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index fb05f4d7c078..3c78120bc0c3 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1402,7 +1402,7 @@ sal_uLong SvxAutoCorrect::AutoCorrect( SvxAutoCorrDoc& rDoc, const String& rTxt,
nRet |= ChgToEnEmDash;
}
- } while( sal_False );
+ } while( false );
if( nRet )
{
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index 8ba40528e4e7..60a3fad9aa09 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -341,7 +341,7 @@ void SvxBoundArgs::Calc( const PolyPolygon& rPoly )
if( nCount > 1 )
{
sal_uInt16 nIdx = 1;
- while( sal_True )
+ while( true )
{
const Point& rLast = rPol[ nIdx - 1 ];
if( nIdx == nCount )
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index a5e7a771b97f..19cc0b28a3f3 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -270,7 +270,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
pAkt->SetStartPos( *pInsPos );
pSet = &pAkt->aAttrSet;
- } while( sal_False );
+ } while( false );
switch( nToken )
{
@@ -1194,7 +1194,7 @@ ATTR_SETEMPHASIS:
&aColor, nDist, eSL ) );
bSkip = sal_False;
- } while( sal_False );
+ } while( false );
if( bSkip )
SkipGroup(); // at the end of the group
@@ -1891,7 +1891,7 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
{
SfxItemIter aIter( aTmp );
const SfxPoolItem* pItem = aIter.GetCurItem();
- while( sal_True )
+ while( true )
{
pAttrPool->SetPoolDefaultItem( *pItem );
if( aIter.IsAtEnd() )
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index baccbdeb87ea..e5af0b08ca29 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -907,7 +907,7 @@ void SvxRTFParser::AttrGroupEnd() // process the current, delete from Stack
{
SfxItemIter aIter( pOld->aAttrSet );
const SfxPoolItem* pItem = aIter.GetCurItem(), *pGet;
- while( sal_True )
+ while( true )
{
if( SFX_ITEM_SET == pAkt->aAttrSet.GetItemState(
pItem->Which(), sal_False, &pGet ) &&
@@ -1052,7 +1052,7 @@ void SvxRTFParser::AttrGroupEnd() // process the current, delete from Stack
// at the beginning of a paragraph? Move back one position
MovePos( sal_True );
- } while( sal_False );
+ } while( false );
if( pOld )
delete pOld;
@@ -1290,7 +1290,7 @@ void SvxRTFItemStackType::Compress( const SvxRTFParser& rParser )
if( aIter.IsAtEnd() )
break;
aIter.NextItem();
- } while( sal_True );
+ } while( true );
if( !aMrgSet.Count() )
return;
@@ -1337,7 +1337,7 @@ void SvxRTFItemStackType::SetRTFDefaults( const SfxItemSet& rDefaults )
if( aIter.IsAtEnd() )
break;
aIter.NextItem();
- } while( sal_True );
+ } while( true );
}
}