xmloff: fix loplugin:stringconstant

Change-Id: I3a1758982ae8ede32e5a25bb702b6d9f37e1a0a3
This commit is contained in:
Miklos Vajna 2017-02-02 12:23:34 +01:00
parent 50669de687
commit 6ea69f07c7

View File

@ -426,7 +426,7 @@ Reference< chart2::data::XDataSource > lcl_pressUsedDataIntoRectangularFormat( c
aLabeledSeqVector.push_back( xXValues );
//add all other sequences now without x-values
lcl_MatchesRole aHasXValues( OUString( "values-x" ) );
lcl_MatchesRole aHasXValues( "values-x" );
for( sal_Int32 nN=0; nN<aSeriesSeqVector.getLength(); nN++ )
{
if( !aHasXValues( aSeriesSeqVector[nN] ) )