summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-17 15:14:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-18 10:20:57 +0200
commit15869ea2dcd8a6b33044d08eef6fcaf8ca54579d (patch)
tree81342fcc35c12df413b76cee6811e905e03e2050 /vcl/source/window
parentfacb86ea0140a3c82f02754e311efad33e072d1c (diff)
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@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/floatwin.cxx5
1 files changed, 0 insertions, 5 deletions
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())