diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-08-01 10:16:49 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-08-01 17:03:00 +0400 |
commit | 6657052e463b4ff9c8a005faadcf2289d32343a3 (patch) | |
tree | 8cecebb8d08b8ebc4e59d8c562f85e279ddc8ff1 /svtools | |
parent | 09eb412b2c8c55c9b0a280a61d6fef18ab5c7c18 (diff) |
consider only fully visible items
Change-Id: I32d88e5206a96b316f29cf4ede04a6ac951d86d5
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svtreebx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/svtreebx.cxx b/svtools/source/contnr/svtreebx.cxx index ec7d135998b3..8e37676503d1 100644 --- a/svtools/source/contnr/svtreebx.cxx +++ b/svtools/source/contnr/svtreebx.cxx @@ -2308,7 +2308,7 @@ SvLBoxEntry* SvTreeListBox::GetLastEntryInView() const { Point aPos( GetEntryPosition(pNext) ); const Size& rSize = pImp->GetOutputSize(); - if( aPos.Y() < 0 || aPos.Y() >= rSize.Height() ) + if( aPos.Y() < 0 || aPos.Y() + GetEntryHeight() >= rSize.Height() ) break; else pEntry = pNext; |