nothing is reading the futilely set WB_AUTOSIZE bit
Change-Id: Ifbc2dffcb8db1511d5c08e51c972e822355f41c6 Reviewed-on: https://gerrit.libreoffice.org/41737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -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;
|
||||
|
@@ -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<OUString> aPaletteList = mrPaletteManager.GetPaletteList();
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user