summaryrefslogtreecommitdiff
path: root/cui/source/options/optopencl.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/options/optopencl.cxx
parente0b2e6e3f767240016133dd2d55e0bfb9192ca39 (diff)
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'cui/source/options/optopencl.cxx')
-rw-r--r--cui/source/options/optopencl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 465bb4acf437..4c97609dcbc4 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -109,9 +109,9 @@ SvxOpenCLTabPage::~SvxOpenCLTabPage()
void SvxOpenCLTabPage::dispose()
{
- for ( sal_uInt16 i = 0; i < mpBlackList->GetEntryCount(); ++i )
+ for ( sal_uLong i = 0; i < mpBlackList->GetEntryCount(); ++i )
delete static_cast<OpenCLConfig::ImplMatcher*>(mpBlackList->GetEntry(i)->GetUserData());
- for ( sal_uInt16 i = 0; i < mpWhiteList->GetEntryCount(); ++i )
+ for ( sal_uLong i = 0; i < mpWhiteList->GetEntryCount(); ++i )
delete static_cast<OpenCLConfig::ImplMatcher*>(mpWhiteList->GetEntry(i)->GetUserData());
mpBlackList.disposeAndClear();
mpWhiteList.disposeAndClear();
@@ -176,7 +176,7 @@ void fillListBox(SvSimpleTable* pListBox, const OpenCLConfig::ImplMatcherSet& rS
{
pListBox->SetUpdateMode(false);
// kill added UserData to treeitem
- for ( sal_uInt16 i = 0; i < pListBox->GetEntryCount(); ++i )
+ for ( sal_uLong i = 0; i < pListBox->GetEntryCount(); ++i )
delete static_cast<OpenCLConfig::ImplMatcher*>(pListBox->GetEntry(i)->GetUserData());
pListBox->Clear();