summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLTools.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTools.cxx6
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