From c7d6d3d241473d43fb8f7486805c0cfda2d66257 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Apr 2014 11:36:02 +0200 Subject: dtrans: sal_Bool->bool Change-Id: I63fe7e02868842b888533ec9d13ce342fe772cf5 --- dtrans/source/cnttype/mcnttype.cxx | 8 ++++---- dtrans/source/cnttype/mcnttype.hxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'dtrans') diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx index e859ffba0025..c2ea09dfbc05 100644 --- a/dtrans/source/cnttype/mcnttype.cxx +++ b/dtrans/source/cnttype/mcnttype.cxx @@ -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 ); } diff --git a/dtrans/source/cnttype/mcnttype.hxx b/dtrans/source/cnttype/mcnttype.hxx index cf84f38afc75..0ebb192989b7 100644 --- a/dtrans/source/cnttype/mcnttype.hxx +++ b/dtrans/source/cnttype/mcnttype.hxx @@ -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; -- cgit