Upcoming improved loplugin:elidestringvar: chart2

Change-Id: If64cf392b3b77994c3f57660a7ddc6bf1db5b0ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97194
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2020-06-26 08:37:44 +02:00
parent 50c40b5c41
commit 74efa49fb3

View file

@ -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()) );