summaryrefslogtreecommitdiff
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
parentf348749a83cb985c5bf40603a0c8b4e3b5950eab (diff)
sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
-rw-r--r--basic/source/runtime/methods.cxx2
-rw-r--r--bridges/test/testoffice.cxx2
-rw-r--r--bridges/test/testsameprocess.cxx2
-rw-r--r--bridges/test/testserver.cxx2
-rw-r--r--comphelper/source/misc/asyncnotification.cxx2
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx2
-rw-r--r--cppu/source/threadpool/jobqueue.cxx2
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx4
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx4
-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
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx2
-rw-r--r--forms/source/component/EventThread.cxx2
-rw-r--r--framework/source/accelerators/storageholder.cxx2
-rw-r--r--framework/source/dispatch/closedispatcher.cxx2
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx2
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx2
-rw-r--r--io/source/stm/odata.cxx4
-rw-r--r--io/source/stm/opipe.cxx4
-rw-r--r--lotuswordpro/source/filter/explode.cxx2
-rw-r--r--lotuswordpro/source/filter/lwppara.cxx2
-rw-r--r--oox/source/drawingml/textrun.cxx2
-rw-r--r--rsc/source/parser/rsclex.cxx2
-rw-r--r--sax/source/expatwrap/xml2utf.cxx6
-rw-r--r--sax/test/sax/testsax.cxx4
-rw-r--r--sd/source/filter/eppt/pptx-epptbase.cxx6
-rw-r--r--sd/source/filter/ppt/pptin.cxx4
-rw-r--r--sfx2/source/appl/appserv.cxx2
-rw-r--r--sfx2/source/appl/newhelp.cxx2
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
-rw-r--r--svl/source/filerec/filerec.cxx2
-rw-r--r--svl/source/items/itemset.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
-rw-r--r--svx/source/dialog/docrecovery.cxx2
-rw-r--r--svx/source/dialog/fntctrl.cxx6
-rw-r--r--svx/source/dialog/srchdlg.cxx2
-rw-r--r--svx/source/form/fmshimp.cxx2
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx4
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx2
-rw-r--r--vcl/source/filter/wmf/winwmf.cxx2
-rw-r--r--xmloff/source/core/nmspmap.cxx2
45 files changed, 66 insertions, 66 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 74462090a59b..5dc45ed0be71 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -454,7 +454,7 @@ RTLFUNC(CurDir)
int nSize = _PATH_INCR;
char* pMem;
- while( sal_True )
+ while( true )
{
pMem = new char[nSize];
if( !pMem )
diff --git a/bridges/test/testoffice.cxx b/bridges/test/testoffice.cxx
index 0fca5082a61b..55c28f4d1b0d 100644
--- a/bridges/test/testoffice.cxx
+++ b/bridges/test/testoffice.cxx
@@ -111,7 +111,7 @@ void testWriter( const Reference < XComponent > & rCmp )
char pcText[1024];
pcText[0] = 0;
printf( "pleast type any text\n" );
- while( sal_True )
+ while( true )
{
scanf( "%s" , pcText );
diff --git a/bridges/test/testsameprocess.cxx b/bridges/test/testsameprocess.cxx
index 0b36d88aedfb..33781aaab08d 100644
--- a/bridges/test/testsameprocess.cxx
+++ b/bridges/test/testsameprocess.cxx
@@ -79,7 +79,7 @@ private:
void MyThread::run()
{
- while ( sal_True )
+ while ( true )
{
try
{
diff --git a/bridges/test/testserver.cxx b/bridges/test/testserver.cxx
index c76b8f278d7b..d021294da6b0 100644
--- a/bridges/test/testserver.cxx
+++ b/bridges/test/testserver.cxx
@@ -109,7 +109,7 @@ void MyThread::latencyTest( const Reference< XConnection > &r )
void MyThread::run()
{
- while ( sal_True )
+ while ( true )
{
try
{
diff --git a/comphelper/source/misc/asyncnotification.cxx b/comphelper/source/misc/asyncnotification.cxx
index 308ba4a11e44..8b1d81a804d1 100644
--- a/comphelper/source/misc/asyncnotification.cxx
+++ b/comphelper/source/misc/asyncnotification.cxx
@@ -231,7 +231,7 @@ namespace comphelper
m_pImpl->aPendingActions.reset();
m_pImpl->aPendingActions.wait();
}
- while ( sal_True );
+ while ( true );
}
//........................................................................
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
index 8fb4a488c3bd..588ec2f5fc06 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.cxx
@@ -233,7 +233,7 @@ MQueryHelper::getByIndex( sal_uInt32 nRow )
{
return( m_aResults[ nRow -1 ] );
}
- } while ( sal_True );
+ } while ( true );
}
sal_Bool
diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx
index 35cae344a2e1..70d05acd6ad6 100644
--- a/cppu/source/threadpool/jobqueue.cxx
+++ b/cppu/source/threadpool/jobqueue.cxx
@@ -67,7 +67,7 @@ namespace cppu_threadpool {
}
- while( sal_True )
+ while( true )
{
if( bReturnWhenNoJob )
{
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 87a6e7c1c892..b2d44eab527f 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -863,7 +863,7 @@ void TPGalleryThemeProperties::FillFilterList()
String aExtensions;
int j = 0;
String sWildcard;
- while( sal_True )
+ while( true )
{
sWildcard = rFilter.GetImportWildcard( i, j++ );
if ( !sWildcard.Len() )
@@ -938,7 +938,7 @@ void TPGalleryThemeProperties::FillFilterList()
{
int j = 0;
String sWildcard;
- while( sal_True )
+ while( true )
{
sWildcard = rFilter.GetImportWildcard( i, j++ );
if ( !sWildcard.Len() )
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index eb43718440c2..e91a9c1ea5a5 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1216,7 +1216,7 @@ void SbaGridControl::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel )
bHandled = sal_True;
}
}
- while (sal_False);
+ while (false);
if (!bHandled)
FmGridControl::StartDrag(_nAction, _rPosPixel);
@@ -1448,7 +1448,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
DBG_UNHANDLED_EXCEPTION();
}
- } while (sal_False);
+ } while (false);
if(nAction != DND_ACTION_COPY && GetEmptyRow().Is())
{
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 );
}
}
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 4ec0de709be2..47d678e73ad0 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -1713,7 +1713,7 @@ void PSWriter::ImplBmp( Bitmap* pBitmap, Bitmap* pMaskBitmap, const Point & rPoi
if ( pMaskBitmap )
{
bDoTrans = sal_True;
- while (sal_True)
+ while (true)
{
if ( mnLevel == 1 )
{
diff --git a/forms/source/component/EventThread.cxx b/forms/source/component/EventThread.cxx
index 174812efbeff..4ee8700defe6 100644
--- a/forms/source/component/EventThread.cxx
+++ b/forms/source/component/EventThread.cxx
@@ -218,7 +218,7 @@ void OComponentEventThread::run()
m_aCond.wait();
}
}
- while( sal_True );
+ while( true );
}
//.........................................................................
diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx
index e128439169ec..ed05f6f32a8d 100644
--- a/framework/source/accelerators/storageholder.cxx
+++ b/framework/source/accelerators/storageholder.cxx
@@ -573,7 +573,7 @@ OUStringList StorageHolder::impl_st_parsePath(const ::rtl::OUString& sPath)
{
OUStringList lToken;
sal_Int32 i = 0;
- while (sal_True)
+ while (true)
{
::rtl::OUString sToken = sPath.getToken(0, PATH_SEPERATOR_UNICODE, i);
if (i < 0)
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 90d560c851df..8361ff68efc7 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -599,7 +599,7 @@ css::uno::Reference< css::frame::XFrame > CloseDispatcher::static_impl_searchRig
OSL_ENSURE(sTarget.isEmpty(), "CloseDispatch used for unexpected target. Magic things will happen now .-)");
css::uno::Reference< css::frame::XFrame > xTarget = xFrame;
- while(sal_True)
+ while(true)
{
// a) top frames wil be closed
if (xTarget->isTop())
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 0a3e9035808f..148896bed322 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -299,7 +299,7 @@ sal_Int32 OTextInputStream::implReadNext()
sal_Size nSrcCvtBytes = 0;
sal_Size nTargetCount = 0;
sal_Size nSourceCount = 0;
- while( sal_True )
+ while( true )
{
const sal_Int8 *pbSource = mSeqSource.getConstArray();
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index d22add793a59..6716eb6d250f 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -127,7 +127,7 @@ Sequence<sal_Int8> OTextOutputStream::implConvert( const OUString& rSource )
Sequence<sal_Int8> seqText( nSeqSize );
sal_Char *pTarget = (sal_Char *) seqText.getArray();
- while( sal_True )
+ while( true )
{
nTargetCount += rtl_convertUnicodeToText(
mConvUnicode2Text,
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index c928de02ca5b..1636c1a8b844 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -1104,7 +1104,7 @@ void OObjectOutputStream::connectToMarkable(void)
// find the markable stream !
Reference< XInterface > rTry(m_output);
- while( sal_True ) {
+ while( true ) {
if( ! rTry.is() )
{
throw NotConnectedException();
@@ -1411,7 +1411,7 @@ void OObjectInputStream::connectToMarkable()
// find the markable stream !
Reference< XInterface > rTry(m_input);
- while( sal_True ) {
+ while( true ) {
if( ! rTry.is() )
{
throw NotConnectedException( );
diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index b6903e554f14..27c5ce002c01 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -148,7 +148,7 @@ OPipeImpl::~OPipeImpl()
sal_Int32 OPipeImpl::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)
throw( NotConnectedException, BufferSizeExceededException,RuntimeException )
{
- while( sal_True )
+ while( true )
{
{ // start guarded section
MutexGuard guard( m_mutexAccess );
@@ -188,7 +188,7 @@ sal_Int32 OPipeImpl::readSomeBytes(Sequence< sal_Int8 >& aData, sal_Int32 nMaxBy
BufferSizeExceededException,
RuntimeException )
{
- while( sal_True ) {
+ while( true ) {
{
MutexGuard guard( m_mutexAccess );
if( m_bInputStreamClosed )
diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx
index 625d1cf1b0b6..72544255a35f 100644
--- a/lotuswordpro/source/filter/explode.cxx
+++ b/lotuswordpro/source/filter/explode.cxx
@@ -224,7 +224,7 @@ sal_Int32 Decompression::explode()
m_nOutputBufferPos = 0;
/* Now, a bit stream follows, which is decoded as described below: */
/* The algorithm terminates as soon as it runs out of bits. */
- while(sal_True)
+ while(true)
{
// read 1 bit (take bits from the lowest value (LSB) to the MSB i.e. bit 0, bit 1 etc ...)
sal_uInt32 iBit;
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 0059f592f00a..e274aa37cfb5 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -588,7 +588,7 @@ void LwpPara::RegisterStyle()
}
bHeading = pNumbering->IsHeading();
- while(sal_True)
+ while(true)
{
/*// When we hit the hint paragraph, we can stop and check the hint.
if (qNumberHint && (qPara == qNumberHint->GetPara()) &&
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index e5ab05dba2e3..6193cf0c244b 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -83,7 +83,7 @@ sal_Int32 TextRun::insertAt(
aTextCharacterProps.maLatinFont.getFontData( aLatinFontName, nLatinFontPitch, nLatinFontFamily, rFilterBase );
sal_Int32 nIndex = 0;
- while ( sal_True )
+ while ( true )
{
sal_Int32 nCount = 0;
sal_Bool bSymbol = ( getText()[ nIndex ] & 0xff00 ) == 0xf000;
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 9016db063880..a78301ac1b36 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -110,7 +110,7 @@ sal_uInt32 GetNumber(){
int MakeToken( YYSTYPE * pTokenVal ){
int c1;
- while( sal_True ){ // Kommentare und Leerzeichen ueberlesen
+ while( true ){ // Kommentare und Leerzeichen ueberlesen
while( isspace( c ) )
c = pFI->GetFastChar();
if( '/' == c ){
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx
index 97bc44d134de..69065c64720e 100644
--- a/sax/source/expatwrap/xml2utf.cxx
+++ b/sax/source/expatwrap/xml2utf.cxx
@@ -53,7 +53,7 @@ sal_Int32 XMLFile2UTFConverter::readAndConvert( Sequence<sal_Int8> &seq , sal_In
sal_Int32 nRead;
Sequence< sal_Int8 > seqStart;
- while( sal_True )
+ while( true )
{
nRead = m_in->readSomeBytes( seq , nMaxToRead );
@@ -409,7 +409,7 @@ Sequence<sal_Unicode> Text2UnicodeConverter::convert( const Sequence<sal_Int8> &
m_seqSource = Sequence< sal_Int8 >();
}
- while( sal_True ) {
+ while( true ) {
/* All invalid characters are transformed to the unicode undefined char */
nTargetCount += rtl_convertTextToUnicode(
@@ -509,7 +509,7 @@ Sequence<sal_Int8> Unicode2TextConverter::convert(const sal_Unicode *puSource ,
Sequence<sal_Int8> seqText( nSeqSize );
sal_Char *pTarget = (sal_Char *) seqText.getArray();
- while( sal_True ) {
+ while( true ) {
nTargetCount += rtl_convertUnicodeToText(
m_convUnicode2Text,
diff --git a/sax/test/sax/testsax.cxx b/sax/test/sax/testsax.cxx
index 469959c2b870..3840da724f90 100644
--- a/sax/test/sax/testsax.cxx
+++ b/sax/test/sax/testsax.cxx
@@ -669,7 +669,7 @@ void OSaxParserTest::testFile( const Reference < XParser > & rParser )
Any any;
any <<= e;
- while(sal_True) {
+ while(true) {
SAXParseException *pEx;
if( any.getValueType() == getCppuType( &e ) ) {
pEx = ( SAXParseException * ) any.getValue();
@@ -736,7 +736,7 @@ void OSaxParserTest::testPerformance( const Reference < XParser > & rParser )
catch( SAXParseException &e ) {
Any any;
any <<= e;
- while(sal_True) {
+ while(true) {
if( any.getValueType() == getCppuType( &e ) ) {
SAXParseException ex;
any >>= ex;
diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx
index 581fea705637..f9c15f7b9753 100644
--- a/sd/source/filter/eppt/pptx-epptbase.cxx
+++ b/sd/source/filter/eppt/pptx-epptbase.cxx
@@ -246,7 +246,7 @@ void PPTWriterBase::exportPPT( const std::vector< com::sun::star::beans::Propert
sal_Bool PPTWriterBase::InitSOIface()
{
- while( sal_True )
+ while( true )
{
mXDrawPagesSupplier = Reference< XDrawPagesSupplier >( mXModel, UNO_QUERY );
if ( !mXDrawPagesSupplier.is() )
@@ -275,7 +275,7 @@ sal_Bool PPTWriterBase::InitSOIface()
sal_Bool PPTWriterBase::GetPageByIndex( sal_uInt32 nIndex, PageType ePageType )
{
- while( sal_True )
+ while( true )
{
if ( ePageType != meLatestPageType )
{
@@ -730,7 +730,7 @@ Rectangle PPTWriterBase::MapRectangle( const awt::Rectangle& rRect )
sal_Bool PPTWriterBase::GetShapeByIndex( sal_uInt32 nIndex, sal_Bool bGroup )
{
- while(sal_True)
+ while(true)
{
if ( ( bGroup == sal_False ) || ( GetCurrentGroupLevel() == 0 ) )
{
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index ee4144f358af..5ffeb01b1594 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1499,7 +1499,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
sal_Bool bTryTwice = ( eAktPageKind == PPT_SLIDEPAGE );
sal_Bool bSSSlideInfoAtom = sal_False;
- while ( sal_True )
+ while ( true )
{
while ( ( rStCtrl.GetError() == 0 ) && ( rStCtrl.Tell() < nPageRecEnd ) )
{
@@ -2542,7 +2542,7 @@ SdrObject* ImplSdPPTImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi
if ( maShapeRecords.SeekToContent( rSt, DFF_msofbtClientData, SEEK_FROM_CURRENT_AND_RESTART ) )
{
DffRecordHeader& rHdClientData = *maShapeRecords.Current();
- while( sal_True )
+ while( true )
{
sal_uInt32 nClientDataLen = rHdClientData.GetRecEndFilePos();
DffRecordHeader aHd;
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 978c69e5d8e4..97ebdc494208 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -442,7 +442,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
{
}
}
- while( sal_True );
+ while( true );
sal_Bool bOk = ( n == 0);
rReq.SetReturnValue( SfxBoolItem( 0, bOk ) );
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 066de34dd46b..1bd5f8dd9bd8 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -1505,7 +1505,7 @@ void SfxHelpWindow_Impl::loadHelpContent(const ::rtl::OUString& sHelpURL, sal_Bo
if ( !IsWait() )
EnterWait();
sal_Bool bSuccess = sal_False;
-// TODO implement locale fallback ... see below while(sal_True)
+// TODO implement locale fallback ... see below while(true)
{
try
{
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 4a1c879731d9..6f707ac77f6b 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1879,7 +1879,7 @@ void FileDialogHelper_Impl::addGraphicFilter()
{
j = 0;
String sWildcard;
- while( sal_True )
+ while( true )
{
sWildcard = mpGraphicFilter->GetImportWildcard( i, j++ );
if ( !sWildcard.Len() )
@@ -1919,7 +1919,7 @@ void FileDialogHelper_Impl::addGraphicFilter()
String aExt;
j = 0;
String sWildcard;
- while( sal_True )
+ while( true )
{
sWildcard = mpGraphicFilter->GetImportWildcard( i, j++ );
if ( !sWildcard.Len() )
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index a90c14135bc0..1787bf86fcb7 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -195,7 +195,7 @@ SfxMiniRecordReader::SfxMiniRecordReader
sal_uInt32 nStartPos = pStream->Tell();
// passenden Record suchen
- while(sal_True)
+ while(true)
{
// Header lesen
DBG( DbgOutf( "SfxFileRec: searching record at %ul", pStream->Tell() ) );
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index dbe5140eaf83..ae63c18753b1 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1111,7 +1111,7 @@ void SfxItemSet::Intersect( const SfxItemSet& rSet )
{
SfxItemIter aIter( *this );
const SfxPoolItem* pItem = aIter.GetCurItem();
- while( sal_True )
+ while( true )
{
sal_uInt16 nWhich = IsInvalidItem( pItem )
? GetWhichByPos( aIter.GetCurPos() )
@@ -1182,7 +1182,7 @@ void SfxItemSet::Differentiate( const SfxItemSet& rSet )
{
SfxItemIter aIter( *this );
const SfxPoolItem* pItem = aIter.GetCurItem();
- while( sal_True )
+ while( true )
{
sal_uInt16 nWhich = IsInvalidItem( pItem )
? GetWhichByPos( aIter.GetCurPos() )
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 381d0d8b3fff..feb68e2e4b25 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -882,7 +882,7 @@ void SvTreeListBox::FillEntryPath( SvTreeListEntry* pEntry, ::std::deque< sal_In
if ( pEntry )
{
SvTreeListEntry* pParentEntry = GetParent( pEntry );
- while ( sal_True )
+ while ( true )
{
sal_uLong i, nCount = GetLevelChildCount( pParentEntry );
for ( i = 0; i < nCount; ++i )
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index d696568cc509..c1df29d0f0cb 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -90,7 +90,7 @@ short TabDialog4Recovery::Execute()
Show();
m_pActualPage = m_lTabPages.begin();
- while(sal_True)
+ while(true)
{
IExtendedTabPage* pPage = *m_pActualPage;
SetViewWindow(pPage);
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
index c240dca27612..06ee2c51adbf 100644
--- a/svx/source/dialog/fntctrl.cxx
+++ b/svx/source/dialog/fntctrl.cxx
@@ -286,7 +286,7 @@ void FontPrevWin_Impl::CheckScript()
nScript = xBreak->getScriptType( aText, nChg );
else
break;
- } while( sal_True );
+ } while( true );
}
/*
@@ -355,7 +355,7 @@ Size FontPrevWin_Impl::CalcTextSize( OutputDevice* pWin, OutputDevice* _pPrinter
else
break;
}
- while( sal_True );
+ while( true );
nHeight -= nAscent;
nCJKHeight -= nCJKAscent;
nCTLHeight -= nCTLAscent;
@@ -416,7 +416,7 @@ void FontPrevWin_Impl::DrawPrev( OutputDevice* pWin, Printer* _pPrinter,
else
break;
}
- while( sal_True );
+ while( true );
_pPrinter->SetFont( aOldFont );
}
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 9a0a9d30b14f..fa315f6930a9 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -188,7 +188,7 @@ void SearchAttrItemList::Put( const SfxItemSet& rSet )
const SfxPoolItem* pItem = aIter.GetCurItem();
sal_uInt16 nWhich;
- while ( sal_True )
+ while ( true )
{
// only test that it is available?
if( IsInvalidItem( pItem ) )
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index bfadea866f24..51babbcad8ef 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -2511,7 +2511,7 @@ IMPL_LINK(FmXFormShell, OnSearchContextRequest, FmSearchContext*, pfmscContextIn
m_arrRelativeGridColumn.push_back(nViewPos);
}
}
- } while (sal_False);
+ } while (false);
}
else
{
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 09ca1d9f7775..2018dbea42ad 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -476,7 +476,7 @@ Polygon XOutBitmap::GetCountour( const Bitmap& rBmp, const sal_uIntPtr nFlags,
nY = nStartY2;
// diese Schleife wird immer gebreaked da hier ja min. ein Pixel ist
- while( sal_True )
+ while( true )
{
if( aBlack == pAcc->GetPixel( nY, nX ) )
{
@@ -513,7 +513,7 @@ Polygon XOutBitmap::GetCountour( const Bitmap& rBmp, const sal_uIntPtr nFlags,
nX = nStartX2;
// diese Schleife wird immer gebreaked da hier ja min. ein Pixel ist
- while( sal_True )
+ while( true )
{
if( aBlack == pAcc->GetPixel( nY, nX ) )
{
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 0317736c208d..472a5c6f2159 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -344,7 +344,7 @@ sal_Bool XPMReader::ImplGetColSub( sal_uInt8* pDest )
else if ( mnParaSize > 2 ) // name must enlarge the minimum size
{
sal_uLong i = 0;
- while ( sal_True )
+ while ( true )
{
if ( pRGBTable[ i ].name == NULL )
break;
diff --git a/vcl/source/filter/wmf/winwmf.cxx b/vcl/source/filter/wmf/winwmf.cxx
index f80b1d7019eb..a181fdfad4aa 100644
--- a/vcl/source/filter/wmf/winwmf.cxx
+++ b/vcl/source/filter/wmf/winwmf.cxx
@@ -1168,7 +1168,7 @@ void WMFReader::ReadWMF()
if( nEndPos - nStartPos )
{
- while( sal_True )
+ while( true )
{
nCurrentAction++;
nPercent = ( nPos - nStartPos ) * 100 / ( nEndPos - nStartPos );
diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index b2512b47ede5..c867818b66d9 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -88,7 +88,7 @@ sal_uInt16 SvXMLNamespaceMap::_Add( const OUString& rPrefix, const OUString &rNa
break;
nKey++;
}
- while ( sal_True );
+ while ( true );
}
::rtl::Reference<NameSpaceEntry> pEntry(new NameSpaceEntry);
pEntry->sName = rName;