From d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 6 Apr 2012 19:49:53 +0200 Subject: Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator --- sdext/source/pdfimport/pdfparse/pdfentries.cxx | 2 +- sdext/source/pdfimport/tree/style.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sdext/source') diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 742407dd0e2d..9c36cf803128 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -1372,7 +1372,7 @@ PDFFileImplData* PDFFile::impl_getData() const m_pData->m_nKeyLength = static_cast(pNum->m_fValue) / 8; } PDFName* pFilter = dynamic_cast(filter->second); - if( pFilter && pFilter->getFilteredName().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Standard" ) ) ) + if( pFilter && pFilter->getFilteredName() == "Standard" ) m_pData->m_bStandardHandler = true; if( o_ent != pDict->m_aMap.end() ) { diff --git a/sdext/source/pdfimport/tree/style.cxx b/sdext/source/pdfimport/tree/style.cxx index d917f91031ac..4f7ea3859736 100644 --- a/sdext/source/pdfimport/tree/style.cxx +++ b/sdext/source/pdfimport/tree/style.cxx @@ -228,7 +228,7 @@ void StyleContainer::emit( EmitContext& rContext, { if( it->second.Name.equals( "style:master-page" ) ) aMasterPageSection.push_back( it->first ); - else if( getStyleName( it->first ).equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "standard" ) ) ) + else if( getStyleName( it->first ) == "standard" ) aOfficeStyleSection.push_back( it->first ); else aAutomaticStyleSection.push_back( it->first ); -- cgit v1.2.3