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 /toolkit | |
parent | 89f7e4ec62dd427168c46e7599f74a16a6a239b0 (diff) |
disentangle CalcSize
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 21325def24f8..98c2fe1e7c57 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2015,7 +2015,7 @@ void VCLXListBox::setProperty( const OUString& PropertyName, const ::com::sun::s Size aSz; ListBox* pListBox = (ListBox*) GetWindow(); if ( pListBox ) - aSz = pListBox->CalcSize( nCols, nLines ); + aSz = pListBox->CalcBlockSize( nCols, nLines ); return AWTSize(aSz); } @@ -4522,7 +4522,7 @@ void VCLXComboBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) Size aSz; ComboBox* pComboBox = (ComboBox*) GetWindow(); if ( pComboBox ) - aSz = pComboBox->CalcSize( nCols, nLines ); + aSz = pComboBox->CalcBlockSize( nCols, nLines ); return AWTSize(aSz); } |