diff options
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/cnttype/mcnttype.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx index 015a77f89178..d7108268dff8 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; |