[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Wed Dec 16 03:03:03 PST 2015
vcl/source/window/syswin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bba3f7bf8f831bf7f51de6441b3f15ed667e56fd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 16 11:02:27 2015 +0000
but only for dialog
Change-Id: I7e4f5c075ca4844f81a59071bed475ea1da4bf91
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 3f2cde1..057b51b 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -1135,7 +1135,7 @@ void SystemWindow::DoInitialLayout()
mbIsCalculatingInitialLayoutSize = false;
mbInitialLayoutDone = true;
}
- else if (!(GetStyle() & WB_SIZEABLE))
+ else if (IsDialog() && !(GetStyle() & WB_SIZEABLE))
{
SetMinOutputSizePixel(GetSizePixel());
}
More information about the Libreoffice-commits
mailing list