diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-10 23:00:44 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-10 23:01:07 +0900 |
commit | 2b1758a2dc82200468905f7865468972a691b6a3 (patch) | |
tree | c6f43ff867ccd1f73b86ea8ad8f88429d16807e7 /filter | |
parent | fdo#45330 Improving layout of Confirm File Format dialog (diff) | |
download | core-2b1758a2dc82200468905f7865468972a691b6a3.tar.gz core-2b1758a2dc82200468905f7865468972a691b6a3.zip |
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/pdf/pdffilter.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgexport.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx index 7ee1655d39a5..51c001f37bf8 100644 --- a/filter/source/pdf/pdffilter.cxx +++ b/filter/source/pdf/pdffilter.cxx @@ -69,7 +69,7 @@ sal_Bool PDFFilter::implExport( const Sequence< PropertyValue >& rDescriptor ) pValue[ i ].Value >>= aFilterData; else if ( pValue[ i ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "StatusIndicator" ) ) ) pValue[ i ].Value >>= xStatusIndicator; - else if( pValue[i].Name.equalsAscii( "InteractionHandler" ) ) + else if( pValue[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("InteractionHandler")) ) pValue[i].Value >>= xIH; } diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 24aa950666a1..df104a4cfb17 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -471,7 +471,7 @@ sal_Bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor ) if( pOStm ) xOStm = Reference< XOutputStream >( new ::utl::OOutputStreamWrapper ( *pOStm ) ); } - else if( pValue[ i ].Name.equalsAscii( "FilterData" ) ) + else if( pValue[ i ].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("FilterData")) ) { pValue[ i ].Value >>= maFilterData; } |