chart2/source/controller/dialogs/res_DataLabel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 74efa49fb31b648ff5ad454215fff2056e788917 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Jun 26 08:37:44 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Jun 26 10:44:55 2020 +0200 Upcoming improved loplugin:elidestringvar: chart2 Change-Id: If64cf392b3b77994c3f57660a7ddc6bf1db5b0ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97194 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index ca1918c170ee..bd71bf51240e 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -281,7 +281,7 @@ void DataLabelResources::FillItemSet( SfxItemSet* rOutAttrs ) const if( m_xCBWrapText->get_state()!= TRISTATE_INDET ) rOutAttrs->Put( SfxBoolItem( SCHATTR_DATADESCR_WRAP_TEXT, m_xCBWrapText->get_active()) ); - OUString aSep = our_aLBEntryMap[m_xLB_Separator->get_active()]; + auto const aSep = our_aLBEntryMap[m_xLB_Separator->get_active()]; rOutAttrs->Put( SfxStringItem( SCHATTR_DATADESCR_SEPARATOR, aSep) ); std::map< sal_uInt16, sal_Int32 >::const_iterator aIt( m_aListBoxToPlacementMap.find(m_xLB_LabelPlacement->get_active()) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits