diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 19:49:53 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:42 +0200 |
commit | d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch) | |
tree | b5a12df1fcae025715633469b75ab4c9b6f6d279 /xmloff/source/chart/SchXMLTools.cxx | |
parent | 0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff) |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'xmloff/source/chart/SchXMLTools.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLTools.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx index c25fba0a4fe8..de5bad54585c 100644 --- a/xmloff/source/chart/SchXMLTools.cxx +++ b/xmloff/source/chart/SchXMLTools.cxx @@ -472,8 +472,7 @@ void CreateCategories( { OUString aConvertedRange( rRangeAddress ); bool bRangeConverted = false; - if( ! (xNewDoc->hasInternalDataProvider() && - aConvertedRange.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("categories")))) + if( ! (xNewDoc->hasInternalDataProvider() && aConvertedRange == "categories")) { Reference< chart2::data::XRangeXMLConversion > xXMLConv( xDataProvider, uno::UNO_QUERY ); if( xXMLConv.is()) @@ -636,8 +635,7 @@ Reference< chart2::XRegressionCurve > getRegressionCurve( if( xServiceName.is()) { OUString aServiceName( xServiceName->getServiceName()); - if( aServiceName.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart2.MeanValueRegressionCurve" ))) + if( aServiceName == "com.sun.star.chart2.MeanValueRegressionCurve" ) continue; } // take first non-empty curve |