diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 15:04:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 16:43:05 +0100 |
commit | 7dda48d56f2d10bd6220fba19168ee1a70ecc05f (patch) | |
tree | 7038d51388b59b0d01700369f43f6bc711313f72 /toolkit | |
parent | 8f7f2dc7a8aa6639f41c51216a4b54c4bb885fd4 (diff) |
Related: fdo#80633 cache optimal size
Change-Id: Ic2c3aefebd3061d294f339c6d262a3c3e381fbe4
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 96a663f24fd8..e2643258d29c 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2167,7 +2167,7 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const ::com::sun::st case WINDOW_SCROLLBARBOX: return VCLXScrollBar::implGetMinimumSize( GetWindow() ); default: - aSz = GetWindow()->GetOptimalSize(); + aSz = GetWindow()->get_preferred_size(); } } |