summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/scrollabledialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/scrollabledialog.cxx')
-rw-r--r--toolkit/source/awt/scrollabledialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx
index 0a808114a17f..3751ad5f29b9 100644
--- a/toolkit/source/awt/scrollabledialog.cxx
+++ b/toolkit/source/awt/scrollabledialog.cxx
@@ -138,13 +138,13 @@ void ScrollableDialog::SetScrollLeft( long nLeft )
void ScrollableDialog::SetScrollWidth( long nWidth )
{
- maScrollArea.Width() = nWidth;
+ maScrollArea.setWidth( nWidth );
ResetScrollBars();
}
void ScrollableDialog::SetScrollHeight( long nHeight )
{
- maScrollArea.Height() = nHeight;
+ maScrollArea.setHeight( nHeight );
ResetScrollBars();
}