diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:21:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:23 +0100 |
commit | acb7ca428382b8db42d7afcd79d72682aae0df8d (patch) | |
tree | 1a9c188c5bc6bc8043ccbb80ec906f6e3631add7 /chart2/source/tools/DiagramHelper.cxx | |
parent | 39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (diff) |
chart2: Use appropriate OUString functions on string constants
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
Diffstat (limited to 'chart2/source/tools/DiagramHelper.cxx')
-rw-r--r-- | chart2/source/tools/DiagramHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx index 765937b80a72..77058510ca34 100644 --- a/chart2/source/tools/DiagramHelper.cxx +++ b/chart2/source/tools/DiagramHelper.cxx @@ -1488,7 +1488,7 @@ bool DiagramHelper::isPieOrDonutChart( const ::com::sun::star::uno::Reference< if( xChartType .is() ) { OUString aChartType = xChartType->getChartType(); - if( aChartType.equals(CHART2_SERVICE_NAME_CHARTTYPE_PIE) ) + if( aChartType == CHART2_SERVICE_NAME_CHARTTYPE_PIE ) return true; } return false; |