diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-17 11:36:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-22 09:53:12 +0200 |
commit | c7d6d3d241473d43fb8f7486805c0cfda2d66257 (patch) | |
tree | 59b5d53a93a087db5c0fe265cba968c9ba8a8c79 /dtrans | |
parent | desktop: sal_Bool->bool (diff) | |
download | core-c7d6d3d241473d43fb8f7486805c0cfda2d66257.tar.gz core-c7d6d3d241473d43fb8f7486805c0cfda2d66257.zip |
dtrans: sal_Bool->bool
Change-Id: I63fe7e02868842b888533ec9d13ce342fe772cf5
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/cnttype/mcnttype.cxx | 8 | ||||
-rw-r--r-- | dtrans/source/cnttype/mcnttype.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
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; |