diff options
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/valueset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index a02c8258c6c4..d0793aa997cc 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1703,7 +1703,7 @@ void ValueSet::SelectItem( sal_uInt16 nItemId ) bool bNewLine = false; // if necessary scroll to the visible area - if (mbScroll && nItemId && mnCols) + if (mbScroll && mnCols) { sal_uInt16 nNewLine = static_cast<sal_uInt16>(nItemPos / mnCols); if ( nNewLine < mnFirstLine ) |