summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-17 11:36:02 +0200
committerNoel Grandin <noel@peralex.com>2014-04-22 09:53:12 +0200
commitc7d6d3d241473d43fb8f7486805c0cfda2d66257 (patch)
tree59b5d53a93a087db5c0fe265cba968c9ba8a8c79 /dtrans
parent133b4d9729ad4d0ab6ad854ab799e5ab6f785ba1 (diff)
dtrans: sal_Bool->bool
Change-Id: I63fe7e02868842b888533ec9d13ce342fe772cf5
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/cnttype/mcnttype.cxx8
-rw-r--r--dtrans/source/cnttype/mcnttype.hxx2
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;