diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx index 15075f698449..39e23202b00f 100644 --- a/include/tools/wintypes.hxx +++ b/include/tools/wintypes.hxx @@ -117,7 +117,6 @@ WinBits const WB_BORDER = 0x00000008; WinBits const WB_NOBORDER = 0x00000010; WinBits const WB_SIZEABLE = 0x00000020; WinBits const WB_3DLOOK = 0x00000040; -WinBits const WB_AUTOSIZE = 0x00000080; // Window-Bits for SystemWindows WinBits const WB_MOVEABLE = 0x00000100; diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 4dd05c8d9c13..dc5ccfee8339 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1312,7 +1312,7 @@ SvxColorWindow::SvxColorWindow(const OUString& rCommand, mpColorSet->SetAccessibleName( GetText() ); - mpPaletteListBox->SetStyle( mpPaletteListBox->GetStyle() | WB_BORDER | WB_AUTOSIZE ); + mpPaletteListBox->SetStyle( mpPaletteListBox->GetStyle() | WB_BORDER ); mpPaletteListBox->SetSelectHdl( LINK( this, SvxColorWindow, SelectPaletteHdl ) ); mpPaletteListBox->AdaptDropDownLineCountToMaximum(); std::vector aPaletteList = mrPaletteManager.GetPaletteList(); diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx index 902d64b79f63..230d53e14471 100644 --- a/toolkit/source/awt/scrollabledialog.cxx +++ b/toolkit/source/awt/scrollabledialog.cxx @@ -74,7 +74,7 @@ void ScrollableDialog::setScrollVisibility( ScrollBarVisibility rVisState ) maVScrollBar->Show(); } if ( mbHasHoriBar || mbHasVertBar ) - SetStyle( Dialog::GetStyle() | WB_CLIPCHILDREN | WB_AUTOSIZE ); + SetStyle( Dialog::GetStyle() | WB_CLIPCHILDREN ); } ScrollableDialog::~ScrollableDialog()