summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-15 16:23:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-15 17:18:35 +0100
commitbf882eb5719ed1d1119a1ec8f2f7cad32af39322 (patch)
tree8d85dec787a89caa58530e6413a5a3bc09509949 /vcl
parentfd0f33b7766f09f64b62e150633601f607ee6897 (diff)
mbInitialLayoutDone is unused
Change-Id: Ic660ba53b450071ad222a3c1adb13e908dbf0023
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dockwin.cxx2
-rw-r--r--vcl/source/window/syswin.cxx2
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))
{