[Libreoffice-commits] core.git: xmloff/source

Miklos Vajna vmiklos at collabora.co.uk
Thu Feb 2 11:24:08 UTC 2017


 xmloff/source/chart/SchXMLExport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6ea69f07c73f2c2e392061c6d120efcf3ee2b26c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Feb 2 12:23:34 2017 +0100

    xmloff: fix loplugin:stringconstant
    
    Change-Id: I3a1758982ae8ede32e5a25bb702b6d9f37e1a0a3

diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 0243a79..b1c58a0 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -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] ) )


More information about the Libreoffice-commits mailing list