dtrans: sal_Bool->bool

Change-Id: I63fe7e02868842b888533ec9d13ce342fe772cf5
This commit is contained in:
Noel Grandin
2014-04-17 11:36:02 +02:00
parent 133b4d9729
commit c7d6d3d241
2 changed files with 5 additions and 5 deletions

View File

@@ -279,7 +279,7 @@ OUString SAL_CALL CMimeContentType::pValue( )
OUString SAL_CALL CMimeContentType::quotedPValue( )
{
OUString pvalue;
sal_Bool bAfterQuoteSign = sal_False;
bool bAfterQuoteSign = false;
while ( !m_nxtSym.isEmpty( ) )
{
@@ -294,9 +294,9 @@ OUString SAL_CALL CMimeContentType::quotedPValue( )
{
pvalue += m_nxtSym;
if ( m_nxtSym == "\"" )
bAfterQuoteSign = sal_True;
bAfterQuoteSign = true;
else
bAfterQuoteSign = sal_False;
bAfterQuoteSign = false;
}
else
throw IllegalArgumentException( );
@@ -338,7 +338,7 @@ void SAL_CALL CMimeContentType::comment( void )
}
}
sal_Bool SAL_CALL CMimeContentType::isInRange( const OUString& aChr, const OUString& aRange )
bool SAL_CALL CMimeContentType::isInRange( const OUString& aChr, const OUString& aRange )
{
return ( aRange.indexOf( aChr ) > -1 );
}

View File

@@ -62,7 +62,7 @@ private:
OUString SAL_CALL quotedPValue( );
OUString SAL_CALL nonquotedPValue( );
void SAL_CALL comment( void );
sal_Bool SAL_CALL isInRange( const OUString& aChr, const OUString& aRange );
bool SAL_CALL isInRange( const OUString& aChr, const OUString& aRange );
private:
::osl::Mutex m_aMutex;