summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/multipat.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 16:48:15 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commit49ea2258d482950ad3af16f9c8ac4fef7f192fc0 (patch)
tree4910b89f264f47c378fa7540705ca84f50d91919 /cui/source/dialogs/multipat.cxx
parente0b2e6e3f767240016133dd2d55e0bfb9192ca39 (diff)
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'cui/source/dialogs/multipat.cxx')
-rw-r--r--cui/source/dialogs/multipat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx
index 8cdc64439efa..75c8b8896030 100644
--- a/cui/source/dialogs/multipat.cxx
+++ b/cui/source/dialogs/multipat.cxx
@@ -270,7 +270,7 @@ OUString SvxMultiPathDialog::GetPath() const
sal_Unicode cDelim = SVT_SEARCHPATH_DELIMITER;
OUString sWritable;
- for ( sal_uInt16 i = 0; i < m_pRadioLB->GetEntryCount(); ++i )
+ for ( sal_uLong i = 0; i < m_pRadioLB->GetEntryCount(); ++i )
{
SvTreeListEntry* pEntry = m_pRadioLB->GetEntry(i);
if ( m_pRadioLB->GetCheckButtonState( pEntry ) == SV_BUTTON_CHECKED )
@@ -294,7 +294,7 @@ OUString SvxPathSelectDialog::GetPath() const
OUString sNewPath;
sal_Unicode cDelim = SVT_SEARCHPATH_DELIMITER;
- for ( sal_uInt16 i = 0; i < m_pPathLB->GetEntryCount(); ++i )
+ for ( sal_Int32 i = 0; i < m_pPathLB->GetEntryCount(); ++i )
{
if ( !sNewPath.isEmpty() )
sNewPath += OUString(cDelim);