diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-04 23:11:48 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-04 23:14:41 +0900 |
commit | ce33f85ffdb8612c9fba9356acdaa93a08a9ba41 (patch) | |
tree | 26f5c53749cbefe24c8bfe0380e553131ef285a6 /io | |
parent | f348749a83cb985c5bf40603a0c8b4e3b5950eab (diff) |
sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
Diffstat (limited to 'io')
-rw-r--r-- | io/source/TextInputStream/TextInputStream.cxx | 2 | ||||
-rw-r--r-- | io/source/TextOutputStream/TextOutputStream.cxx | 2 | ||||
-rw-r--r-- | io/source/stm/odata.cxx | 4 | ||||
-rw-r--r-- | io/source/stm/opipe.cxx | 4 |
4 files changed, 6 insertions, 6 deletions
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 ) |