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

Caolán McNamara caolanm at redhat.com
Wed Oct 18 08:21:25 UTC 2017


 vcl/source/window/floatwin.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 15869ea2dcd8a6b33044d08eef6fcaf8ca54579d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 17 15:14:30 2017 +0100

    presumably we don't need to recalculate on subsequenct 'show' now
    
    Change-Id: I7e5fdd2b328a7d88e11cc15ba9e1027ef55c5e17
    Reviewed-on: https://gerrit.libreoffice.org/43461
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 57c5f7ec26a8..dc6cd3c6b4df 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -596,11 +596,6 @@ void FloatingWindow::LogicInvalidate(const tools::Rectangle* /*pRectangle*/)
 
 void FloatingWindow::StateChanged( StateChangedType nType )
 {
-    if (nType == StateChangedType::InitShow)
-    {
-        DoInitialLayout();
-    }
-
     SystemWindow::StateChanged( nType );
     Dialog* pParentDlg = GetParentDialog();
     if (pParentDlg && nType == StateChangedType::InitShow && IsVisible())


More information about the Libreoffice-commits mailing list