diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 00:59:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 09:50:11 +0000 |
commit | 1b7a5c634a22dee2f7d6e9f3d82820765725943a (patch) | |
tree | 02e39564d6c8b33083a7581ec7aa51314b4e16ea /basctl/source/basicide/baside2b.cxx | |
parent | longparas: drop STRING_MAXLEN limit in TextEngine (diff) | |
download | core-1b7a5c634a22dee2f7d6e9f3d82820765725943a.tar.gz core-1b7a5c634a22dee2f7d6e9f3d82820765725943a.zip |
disentangle CalcSize
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-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 |