[Libreoffice-commits] core.git: vcl/source

Chris Sherlock chris.sherlock79 at gmail.com
Fri May 30 10:07:38 PDT 2014


 vcl/source/window/window.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c4f425e691ba4a0757bea6792d02ae92a2975832
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sat May 31 00:44:48 2014 +1000

    vcl: make Window::Show() if statement a little easier to read
    
    Change-Id: I3b4d88f8e0a2f378878f29fbf799b795018b18b3

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index e04652a..a3146d9 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -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
         if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() &&
             GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() )
+        {
             EnableNativeWidget( GetParent()->IsNativeWidgetEnabled() );
+        }
 
         if ( mpWindowImpl->mbCallMove )
         {


More information about the Libreoffice-commits mailing list