diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-14 10:40:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-14 16:04:17 +0000 |
commit | 830f44b1ca0e121d3e27a031054313e3f194ab1d (patch) | |
tree | 5e278495b667b8ca36d10770dc07d32134954e80 /toolkit | |
parent | merge the 'holy default' default window sizes to a single place (diff) | |
download | core-830f44b1ca0e121d3e27a031054313e3f194ab1d.tar.gz core-830f44b1ca0e121d3e27a031054313e3f194ab1d.zip |
we only ever want the preferred window size from GetOptimalSize
so remove the MAX and MIN options and simplify the whole lot
Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
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 5609ea7e16bc..b97a6bd00e81 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2194,7 +2194,7 @@ void VCLXWindow::setProperty( const ::rtl::OUString& PropertyName, const ::com:: case WINDOW_SCROLLBARBOX: return VCLXScrollBar::implGetMinimumSize( GetWindow() ); default: - aSz = GetWindow()->GetOptimalSize( WINDOWSIZE_MINIMUM ); + aSz = GetWindow()->GetOptimalSize(); } } |