diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index fee2d61a2539..2ae6efd2b5a5 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2842,7 +2842,7 @@ void CodeCompleteWindow::ResizeAndPositionListBox() const sal_uInt16& nColumns = aLongestEntry.getLength(); const sal_uInt16& nLines = std::min( (sal_uInt16) 6, pListBox->GetEntryCount() ); - Size aSize = pListBox->CalcSize( nColumns, nLines ); + Size aSize = pListBox->CalcBlockSize( nColumns, nLines ); //set the size SetSizePixel( aSize ); //1 px smaller, to see the border |