summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/cnttype/mcnttype.cxx6
1 files changed, 3 insertions, 3 deletions
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;