summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-26 08:29:52 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-05 22:07:57 -0500
commit4a650fbcb3836204797c2cbd3ee553acb3b02eb5 (patch)
treefbc3b0ac9bfd1739b5728c1bf946ce41c9cb0558 /toolkit
parent7f4402c6fcdac3e483343ab64b10613094de1f9e (diff)
convert SCROLL constants to scoped enum
(cherry picked from commit 204d147b8a887d17e6457f795e8b8f4d632213ae) Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/scrollabledialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx
index a8cd527a5723..b1d898d573a9 100644
--- a/toolkit/source/awt/scrollabledialog.cxx
+++ b/toolkit/source/awt/scrollabledialog.cxx
@@ -76,7 +76,7 @@ void ScrollableWrapper<T>::setScrollVisibility( ScrollBarVisibility rVisState )
maVScrollBar->Show();
}
if ( mbHasHoriBar || mbHasVertBar )
- this->SetStyle( T::GetStyle() | WB_CLIPCHILDREN | SCROLL_UPDATE );
+ this->SetStyle( T::GetStyle() | WB_CLIPCHILDREN | WB_AUTOSIZE );
}
template< class T>