summaryrefslogtreecommitdiff
path: root/chart2/source/tools/RegressionCurveHelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:21:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:23 +0100
commitacb7ca428382b8db42d7afcd79d72682aae0df8d (patch)
tree1a9c188c5bc6bc8043ccbb80ec906f6e3631add7 /chart2/source/tools/RegressionCurveHelper.cxx
parent39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (diff)
chart2: Use appropriate OUString functions on string constants
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
Diffstat (limited to 'chart2/source/tools/RegressionCurveHelper.cxx')
-rw-r--r--chart2/source/tools/RegressionCurveHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx
index fd3ac69c9799..124d0989b762 100644
--- a/chart2/source/tools/RegressionCurveHelper.cxx
+++ b/chart2/source/tools/RegressionCurveHelper.cxx
@@ -266,8 +266,8 @@ bool RegressionCurveHelper::isMeanValueLine(
{
uno::Reference< XServiceName > xServName( xRegCurve, uno::UNO_QUERY );
if( xServName.is() &&
- xServName->getServiceName().equals(
- "com.sun.star.chart2.MeanValueRegressionCurve"))
+ xServName->getServiceName() ==
+ "com.sun.star.chart2.MeanValueRegressionCurve" )
return true;
return false;
}