[Libreoffice-commits] core.git: chart2/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 26 08:45:43 UTC 2020
chart2/source/controller/dialogs/res_DataLabel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 74efa49fb31b648ff5ad454215fff2056e788917
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 26 08:37:44 2020 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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()) );
More information about the Libreoffice-commits
mailing list