Apache OpenOffice (AOO) Bugzilla – Attachment #76831: Patch for PDF Export UI "page range" autofocus for issue #118464
maEdPages.Enable( maRbRange.IsChecked() );
//Sym2_5805, When the control is disabled, it is also readonly. So here, it is not necessary to set it as readonly.
//maEdPages.SetReadOnly( !maRbRange.IsChecked() );
if ( maRbRange.IsChecked() )
maEdPages.GrabFocus();
return 0;
}