summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-01 15:04:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-01 16:43:05 +0100
commit7dda48d56f2d10bd6220fba19168ee1a70ecc05f (patch)
tree7038d51388b59b0d01700369f43f6bc711313f72 /toolkit
parentUpdated core (diff)
downloadcore-7dda48d56f2d10bd6220fba19168ee1a70ecc05f.tar.gz
core-7dda48d56f2d10bd6220fba19168ee1a70ecc05f.zip
Related: fdo#80633 cache optimal size
Change-Id: Ic2c3aefebd3061d294f339c6d262a3c3e381fbe4
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindow.cxx2
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();
}
}