diff options
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/graphicfilter/eps/eps.cxx | 10 | ||||
-rw-r--r-- | filter/source/xsltfilter/LibXSLTTransformer.cxx | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 2a591fd88fc6..2c4182ef66ac 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -1225,7 +1225,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ) if( pGradAction ) ImplWriteGradient( pGradAction->GetPolyPolygon(), pGradAction->GetGradient(), rVDev ); } - else if ( pA->GetComment().equals("XPATHFILL_SEQ_END") ) + else if ( pA->GetComment() == "XPATHFILL_SEQ_END" ) { if ( aFillPath.Count() ) { @@ -1242,7 +1242,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ) bool bSkipSequence = false; OString sSeqEnd; - if( pA->GetComment().equals( "XPATHSTROKE_SEQ_BEGIN" ) ) + if( pA->GetComment() == "XPATHSTROKE_SEQ_BEGIN" ) { sSeqEnd = "XPATHSTROKE_SEQ_END"; SvtGraphicStroke aStroke; @@ -1277,7 +1277,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ) ImplPolyLine( aPath ); } } - else if (pA->GetComment().equals("XPATHFILL_SEQ_BEGIN")) + else if (pA->GetComment() == "XPATHFILL_SEQ_BEGIN") { sSeqEnd = "XPATHFILL_SEQ_END"; SvtGraphicFill aFill; @@ -1348,7 +1348,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ) break; case MetaActionType::COMMENT : { - if (static_cast<const MetaCommentAction*>(pAction)->GetComment().equals("XPATHFILL_SEQ_END")) + if (static_cast<const MetaCommentAction*>(pAction)->GetComment() == "XPATHFILL_SEQ_END") bOk = false; } break; @@ -1391,7 +1391,7 @@ void PSWriter::ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ) if ( pMA->GetType() == MetaActionType::COMMENT ) { OString sComment( static_cast<MetaCommentAction*>(pMA)->GetComment() ); - if ( sComment.equals( sSeqEnd ) ) + if ( sComment == sSeqEnd ) break; } } diff --git a/filter/source/xsltfilter/LibXSLTTransformer.cxx b/filter/source/xsltfilter/LibXSLTTransformer.cxx index d828cbd91991..5e1776246246 100644 --- a/filter/source/xsltfilter/LibXSLTTransformer.cxx +++ b/filter/source/xsltfilter/LibXSLTTransformer.cxx @@ -496,31 +496,31 @@ namespace XSLT // ignore non-string parameters continue; } - if (nameUTF8.equals("StylesheetURL")) + if (nameUTF8 == "StylesheetURL") { m_styleSheetURL = valueUTF8; } - else if (nameUTF8.equals("SourceURL")) + else if (nameUTF8 == "SourceURL") { m_parameters.insert(pair<const char*, OString> ( PARAM_SOURCE_URL, valueUTF8)); } - else if (nameUTF8.equals("SourceBaseURL")) + else if (nameUTF8 == "SourceBaseURL") { m_parameters.insert(pair<const char*, OString> ( PARAM_SOURCE_BASE_URL, valueUTF8)); } - else if (nameUTF8.equals("TargetURL")) + else if (nameUTF8 == "TargetURL") { m_parameters.insert(pair<const char*, OString> ( PARAM_TARGET_URL, valueUTF8)); } - else if (nameUTF8.equals("TargetBaseURL")) + else if (nameUTF8 == "TargetBaseURL") { m_parameters.insert(pair<const char*, OString> ( PARAM_TARGET_BASE_URL, valueUTF8)); } - else if (nameUTF8.equals("DoctypePublic")) + else if (nameUTF8 == "DoctypePublic") { m_parameters.insert(pair<const char*, OString> ( PARAM_DOCTYPE_PUBLIC, valueUTF8)); |