From a3f32769fc4bb23c64168b412dd10ec769a3854d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 21 Jan 2014 15:53:55 +0100 Subject: Fix bogus mass-conversion equalsAsciiL -> startsWith 3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21 --- dtrans/source/cnttype/mcnttype.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dtrans') diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx index 1e95d92803b6..150668d94895 100644 --- a/dtrans/source/cnttype/mcnttype.cxx +++ b/dtrans/source/cnttype/mcnttype.cxx @@ -170,7 +170,7 @@ void SAL_CALL CMimeContentType::acceptSym( const OUString& pSymTlb ) void SAL_CALL CMimeContentType::skipSpaces( void ) { - while (m_nxtSym.startsWith(SPACE)) + while (m_nxtSym == SPACE) getSym( ); } @@ -353,8 +353,8 @@ OUString SAL_CALL CMimeContentType::quotedPValue( ) while ( !m_nxtSym.isEmpty( ) ) { if ( bAfterQuoteSign && ( - (m_nxtSym.startsWith(SPACE)) || - (m_nxtSym.startsWith(SEMICOLON))) + (m_nxtSym == SPACE) || + (m_nxtSym == SEMICOLON)) ) { break; -- cgit