diff options
Diffstat (limited to 'basic/source/runtime/ddectrl.cxx')
-rw-r--r-- | basic/source/runtime/ddectrl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx index 96412890bd80..2557c9e9fafd 100644 --- a/basic/source/runtime/ddectrl.cxx +++ b/basic/source/runtime/ddectrl.cxx @@ -140,10 +140,9 @@ SbError SbiDdeControl::Terminate( size_t nChannel ) SbError SbiDdeControl::TerminateAll() { - DdeConnection *conv; for (size_t nChannel = 0; nChannel < aConvList.size(); ++nChannel) { - conv = aConvList[nChannel]; + DdeConnection *conv = aConvList[nChannel]; if (conv != DDE_FREECHANNEL) { |