vcl/source/window/floatwin.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit 15869ea2dcd8a6b33044d08eef6fcaf8ca54579d Author: Caolán McNamara <caol...@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 <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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())
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits