diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-02-08 10:05:57 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-02-08 10:06:11 +0100 |
commit | 5c7c8cd6ef60a77cdc37816734383229fbea75fc (patch) | |
tree | 4d6efe74f4c070b9e3ecbb8ab33d08b67e2e687f /svtools/source/control | |
parent | b162c5d59ee1659ef741b136c651b9c62311adad (diff) |
Fixed crasher introduced by commit #196197b2
Diffstat (limited to 'svtools/source/control')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 6fcc25fdf279..04b3c98009bc 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -618,7 +618,7 @@ USHORT LineListBox::GetEntryPos( long nLine1, long nLine2, long nDistance, USHORT nStyle ) const { for ( size_t i = 0, n = pLineList->size(); i < n; ++i ) { - ImpLineListData* pData = (*pLineList)[ n ]; + ImpLineListData* pData = (*pLineList)[ i ]; if ( pData ) { if ( (pData->nLine1 == nLine1) |