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

Chris Sherlock chris.sherlock79 at gmail.com
Sun Mar 3 06:25:16 PST 2013


 vcl/source/app/svapp.cxx |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 2d8cb19057e81f4f3297ffac803e11c6cb84b3db
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sun Mar 3 15:24:09 2013 +0100

    No need for commented out code.

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 3758a85..90166eb 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1493,13 +1493,7 @@ Window* Application::GetDefDialogParent()
                     return NULL;
                 }
 
-                // MAV: before the implementation has used only decorated windows,
-                //      but it is not true in case of ActiveX or plugin scenario,
-                //      so this check is commented out
-                // if( pWin->mpWindowImpl->mpFrameWindow->GetStyle() & (WB_MOVEABLE | WB_SIZEABLE) )
-                    return pWin->mpWindowImpl->mpFrameWindow->ImplGetWindow();
-                // else
-                //    return NULL;
+                return pWin->mpWindowImpl->mpFrameWindow->ImplGetWindow();
             }
         }
         // last active application frame


More information about the Libreoffice-commits mailing list