diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-21 11:03:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 11:03:55 +0200 |
commit | e1af7f0c438bc242e4562aa0286c99787b5ad544 (patch) | |
tree | 29c7faa3556f33baa7eae5cd0aca3946afb8a560 /cui/source/tabpages/labdlg.cxx | |
parent | 8762aa986dbca42e61cc8fb1b2c1d2ca66bcfcbe (diff) |
clang-tidy modernize-loop-convert in c*
Change-Id: I77d2548f8be97792660761e6156cd24734a95aaf
Diffstat (limited to 'cui/source/tabpages/labdlg.cxx')
-rw-r--r-- | cui/source/tabpages/labdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx index da590149f576..e99c26b9cd30 100644 --- a/cui/source/tabpages/labdlg.cxx +++ b/cui/source/tabpages/labdlg.cxx @@ -390,8 +390,8 @@ void SvxCaptionTabPage::SetupAnsatz_Impl( sal_uInt16 nType ) case AZ_HORIZONTAL: m_pLB_ANSATZ_REL->Clear(); - for (size_t i = 0 ; i < m_aStrHorzList.size(); ++i) - m_pLB_ANSATZ_REL->InsertEntry(m_aStrHorzList[i]); + for (OUString & i : m_aStrHorzList) + m_pLB_ANSATZ_REL->InsertEntry(i); m_pLB_ANSATZ_REL->SelectEntryPos(nAnsatzRelPos); m_pMF_ANSATZ->Hide(); @@ -403,8 +403,8 @@ void SvxCaptionTabPage::SetupAnsatz_Impl( sal_uInt16 nType ) case AZ_VERTIKAL: m_pLB_ANSATZ_REL->Clear(); - for (size_t i = 0 ; i < m_aStrVertList.size(); ++i) - m_pLB_ANSATZ_REL->InsertEntry(m_aStrVertList[i]); + for (OUString & i : m_aStrVertList) + m_pLB_ANSATZ_REL->InsertEntry(i); m_pLB_ANSATZ_REL->SelectEntryPos(nAnsatzRelPos); m_pMF_ANSATZ->Hide(); |