From 447a013299d148df12ff17306fff77bb7f85eba1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Apr 2017 13:13:16 +0200 Subject: clang-tidy readability-simplify-boolean-expr in dbaccess..framework Change-Id: I96e1bd4000f4ade6ccfac53c57653772b249df99 Reviewed-on: https://gerrit.libreoffice.org/36678 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dtrans/source/cnttype/mcnttype.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dtrans') diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx index e9c12c483882..20271ea17aab 100644 --- a/dtrans/source/cnttype/mcnttype.cxx +++ b/dtrans/source/cnttype/mcnttype.cxx @@ -291,10 +291,7 @@ OUString SAL_CALL CMimeContentType::quotedPValue( ) else if ( isInRange( m_nxtSym, OUStringLiteral(TOKEN) + TSPECIALS + SPACE ) ) { pvalue += m_nxtSym; - if ( m_nxtSym == "\"" ) - bAfterQuoteSign = true; - else - bAfterQuoteSign = false; + bAfterQuoteSign = m_nxtSym == "\""; } else throw IllegalArgumentException( ); -- cgit