summaryrefslogtreecommitdiff
path: root/oox/source/export
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:33 +0100
commitd553aa44d2def412bafe33b9fe68c463e957bda5 (patch)
tree8eb3318d4f21e50838ef6ebf4d8224042c54cfd0 /oox/source/export
parent5adadc599ff2b80f24be93196fc473d0e6682fe7 (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ia944d081842753fcf82f77bda82defe1d5566b37
Diffstat (limited to 'oox/source/export')
-rw-r--r--oox/source/export/chartexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index f823c2723698..d3952fc150bc 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -279,7 +279,7 @@ Reference< chart2::data::XDataSource > lcl_pressUsedDataIntoRectangularFormat( c
//the first x-values is always the next sequence //todo ... other x-values get lost for old format
Reference< chart2::data::XLabeledDataSequence > xXValues(
- lcl_getDataSequenceByRole( aSeriesSeqVector, OUString("values-x") ) );
+ lcl_getDataSequenceByRole( aSeriesSeqVector, "values-x" ) );
if( xXValues.is() )
aLabeledSeqVector.push_back( xXValues );
@@ -2126,7 +2126,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
|| (eChartType == chart::TYPEID_BUBBLE) )
{
// export xVal
- Reference< chart2::data::XLabeledDataSequence > xSequence( lcl_getDataSequenceByRole( aSeqCnt, OUString("values-x") ) );
+ Reference< chart2::data::XLabeledDataSequence > xSequence( lcl_getDataSequenceByRole( aSeqCnt, "values-x" ) );
if( xSequence.is() )
{
Reference< chart2::data::XDataSequence > xValues( xSequence->getValues() );
@@ -2138,7 +2138,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
if( eChartType == chart::TYPEID_BUBBLE )
{
// export yVal
- Reference< chart2::data::XLabeledDataSequence > xSequence( lcl_getDataSequenceByRole( aSeqCnt, OUString("values-y") ) );
+ Reference< chart2::data::XLabeledDataSequence > xSequence( lcl_getDataSequenceByRole( aSeqCnt, "values-y" ) );
if( xSequence.is() )
{
Reference< chart2::data::XDataSequence > xValues( xSequence->getValues() );