Kaydet (Commit) c4f425e6 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: make Window::Show() if statement a little easier to read

Change-Id: I3b4d88f8e0a2f378878f29fbf799b795018b18b3
üst 24d8bcc7
...@@ -2338,7 +2338,9 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags ) ...@@ -2338,7 +2338,9 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags )
// eg, the drop down of a combobox which is a system floating window // eg, the drop down of a combobox which is a system floating window
if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() && if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() &&
GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() ) GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() )
{
EnableNativeWidget( GetParent()->IsNativeWidgetEnabled() ); EnableNativeWidget( GetParent()->IsNativeWidgetEnabled() );
}
if ( mpWindowImpl->mbCallMove ) if ( mpWindowImpl->mbCallMove )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment