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

Stephan Bergmann sbergman at redhat.com
Thu Feb 2 13:20:27 UTC 2017


 oox/source/export/chartexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 162e185c535dbc2861b92c66c84d305fd51b5d7e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 2 14:19:48 2017 +0100

    loplugin:stringconstant
    
    Change-Id: I14ac842fa7b8a8ec8c6eb7554d136a68fe727ed7

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 621a1d0..c42f496 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -278,7 +278,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