summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/res_DataLabel.cxx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-11-10 17:34:31 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-11-10 23:11:28 +0100
commitafbfe42e63cdba1a18c292d7eb4875009b0f19c0 (patch)
tree4d4feec02830008c898cc1cd4eff768f26efda84 /chart2/source/controller/dialogs/res_DataLabel.cxx
parentFix typo in comment (diff)
downloadcore-afbfe42e63cdba1a18c292d7eb4875009b0f19c0.tar.gz
core-afbfe42e63cdba1a18c292d7eb4875009b0f19c0.zip
clang-tidy: (WIP) bugprone-too-small-loop-variable findings 2
Change-Id: I1ddf3fe0e5fad265ae14712a23469b684253079d Reviewed-on: https://gerrit.libreoffice.org/63241 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'chart2/source/controller/dialogs/res_DataLabel.cxx')
-rw-r--r--chart2/source/controller/dialogs/res_DataLabel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index 65442d9764f8..808abd4be90e 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -317,7 +317,7 @@ void DataLabelResources::Reset(const SfxItemSet& rInAttrs)
const SfxPoolItem *pPoolItem = nullptr;
if( rInAttrs.GetItemState(SCHATTR_DATADESCR_SEPARATOR, true, &pPoolItem) == SfxItemState::SET )
- for(sal_uInt32 i=0; i < SAL_N_ELEMENTS(our_aLBEntryMap); ++i )
+ for(size_t i=0; i < SAL_N_ELEMENTS(our_aLBEntryMap); ++i )
{
if( our_aLBEntryMap[i] == static_cast<const SfxStringItem*>(pPoolItem)->GetValue())
m_xLB_Separator->set_active( i );