summaryrefslogtreecommitdiff
path: root/vcl/source/window/syswin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r--vcl/source/window/syswin.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index f7732910df1b..e7e6683b74e5 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -1162,10 +1162,6 @@ void SystemWindow::DoInitialLayout()
setOptimalLayoutSize();
mbIsCalculatingInitialLayoutSize = false;
}
- else if (IsDialog() && !(GetStyle() & WB_SIZEABLE))
- {
- SetMinOutputSizePixel(GetSizePixel());
- }
}
void SystemWindow::doDeferredInit(WinBits /*nBits*/)