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/view/main/AbstractShapeFactory.cxx | |
parent | 39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (diff) |
chart2: Use appropriate OUString functions on string constants
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
Diffstat (limited to 'chart2/source/view/main/AbstractShapeFactory.cxx')
-rw-r--r-- | chart2/source/view/main/AbstractShapeFactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx index 58a0f5c5b324..45314c0af298 100644 --- a/chart2/source/view/main/AbstractShapeFactory.cxx +++ b/chart2/source/view/main/AbstractShapeFactory.cxx @@ -133,7 +133,7 @@ uno::Reference< drawing::XShapes > AbstractShapeFactory::getChartRootShape( { if( xShapes->getByIndex( nN ) >>= xShape ) { - if( AbstractShapeFactory::getShapeName( xShape ).equals("com.sun.star.chart2.shapes") ) + if( AbstractShapeFactory::getShapeName( xShape ) == "com.sun.star.chart2.shapes" ) { xRet = uno::Reference< drawing::XShapes >( xShape, uno::UNO_QUERY ); break; |