diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-15 16:23:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-15 17:18:35 +0100 |
commit | bf882eb5719ed1d1119a1ec8f2f7cad32af39322 (patch) | |
tree | 8d85dec787a89caa58530e6413a5a3bc09509949 /vcl | |
parent | fd0f33b7766f09f64b62e150633601f607ee6897 (diff) |
mbInitialLayoutDone is unused
Change-Id: Ic660ba53b450071ad222a3c1adb13e908dbf0023
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dockwin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/syswin.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 6c927b80e38b..1a61dd564798 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -323,7 +323,6 @@ void DockingWindow::ImplInitDockingWindowData() mbHideBtn = false; mbIsDefferedInit = false; mbIsCalculatingInitialLayoutSize = false; - mbInitialLayoutDone = false; mpDialogParent = nullptr; //To-Do, reuse maResizeTimer @@ -707,7 +706,6 @@ void DockingWindow::DoInitialLayout() if (IsFloatingMode()) setOptimalLayoutSize(); mbIsCalculatingInitialLayoutSize = false; - mbInitialLayoutDone = true; } } diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index 0bc7a0a75d15..c4d5017ef950 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -77,7 +77,6 @@ SystemWindow::SystemWindow(WindowType nType) , mbHideBtn(false) , mbSysChild(false) , mbIsCalculatingInitialLayoutSize(false) - , mbInitialLayoutDone(false) , mnMenuBarMode(MenuBarMode::Normal) , mnIcon(0) , mpImplData(new ImplData) @@ -1171,7 +1170,6 @@ void SystemWindow::DoInitialLayout() setDeferredProperties(); setOptimalLayoutSize(); mbIsCalculatingInitialLayoutSize = false; - mbInitialLayoutDone = true; } else if (IsDialog() && !(GetStyle() & WB_SIZEABLE)) { |