diff options
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/base/basecontainercontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx index b7b9fc9d17ab..469146b018a5 100644 --- a/UnoControls/source/base/basecontainercontrol.cxx +++ b/UnoControls/source/base/basecontainercontrol.cxx @@ -229,7 +229,7 @@ void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException ) for ( nCount = 0; nCount < nMaxCount; ++nCount ) { - delete maControlInfoList[ 0 ]; + delete maControlInfoList[ nCount ]; } maControlInfoList.clear(); |