diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:37:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:39 +0200 |
commit | 94c1ea92ce7653f3cf91cfd0efe9546bbdb47ad3 (patch) | |
tree | 951e81a230c0dc48a7337f99c21505e98cdc2d32 /xmloff | |
parent | 0c526c668391faec7fdfbab7d0210210c7a2a32e (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I81a60eb512356d19cb746145fdf0dc1a3c676ba1
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |