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 /sax | |
parent | f348749a83cb985c5bf40603a0c8b4e3b5950eab (diff) |
sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 6 | ||||
-rw-r--r-- | sax/test/sax/testsax.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
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; |