summaryrefslogtreecommitdiff
path: root/basic/source/runtime/ddectrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-21 10:26:48 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 10:27:17 +0200
commit8762aa986dbca42e61cc8fb1b2c1d2ca66bcfcbe (patch)
treeaf1f197feb0a40e819cc4ed74efce934935c9cae /basic/source/runtime/ddectrl.cxx
parentb19ac3c4c6b4a41a1f3acac68b299fd676428a87 (diff)
clang-tidy modernize-loop-convert in b*
Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b
Diffstat (limited to 'basic/source/runtime/ddectrl.cxx')
-rw-r--r--basic/source/runtime/ddectrl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx
index 4e965d3c9a84..384d19dd8ade 100644
--- a/basic/source/runtime/ddectrl.cxx
+++ b/basic/source/runtime/ddectrl.cxx
@@ -138,10 +138,8 @@ SbError SbiDdeControl::Terminate( size_t nChannel )
SbError SbiDdeControl::TerminateAll()
{
- for (size_t nChannel = 0; nChannel < aConvList.size(); ++nChannel)
+ for (DdeConnection* conv : aConvList)
{
- DdeConnection *conv = aConvList[nChannel];
-
if (conv != DDE_FREECHANNEL)
{
delete conv;