From 94c1ea92ce7653f3cf91cfd0efe9546bbdb47ad3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 25 Jun 2015 12:37:38 +0200 Subject: loplugin:stringconstant: Flag more inefficiencies Change-Id: I81a60eb512356d19cb746145fdf0dc1a3c676ba1 --- xmloff/source/chart/SchXMLExport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source') diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 7f426355a5ad..08f1c5311ae0 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -627,7 +627,7 @@ uno::Sequence< OUString > lcl_DataSequenceToStringSequence( { OUString aRole; xProp->getPropertyValue("Role") >>= aRole; - if( aRole.match( OUString( "values-x" ) ) ) + if( aRole.match("values-x") ) { //lcl_clearIfNoValuesButTextIsContained - replace by indices if the values are not appropriate bool bHasValue=false; -- cgit