From ce33f85ffdb8612c9fba9356acdaa93a08a9ba41 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Mon, 4 Mar 2013 23:11:48 +0900 Subject: sal_Bool to bool Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6 --- io/source/TextInputStream/TextInputStream.cxx | 2 +- io/source/TextOutputStream/TextOutputStream.cxx | 2 +- io/source/stm/odata.cxx | 4 ++-- io/source/stm/opipe.cxx | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'io') 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 OTextOutputStream::implConvert( const OUString& rSource ) Sequence 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 ) -- cgit