From 1b7a5c634a22dee2f7d6e9f3d82820765725943a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Jan 2014 00:59:39 +0000 Subject: disentangle CalcSize Change-Id: I42248ff611dbe7c109076da5d548717898341be3 --- basctl/source/basicide/baside2b.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basctl') 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 -- cgit