[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Fri Dec 6 08:39:13 PST 2013
vcl/source/window/builder.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 60b5de35edcc0b1b3f4a85608e9da9846f5e98c0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 6 16:35:15 2013 +0000
map homogeneous to opposite of non-homogeneous
which should silence that annoying "unknown packing: homogeneous" warning
Change-Id: I826908024063909ddd5f975829b7a5727944d399
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 577eb86..2301d21 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2733,6 +2733,10 @@ void VclBuilder::applyPackingProperty(Window *pCurrent,
{
pCurrent->set_non_homogeneous(toBool(sValue));
}
+ else if (sKey == "homogeneous")
+ {
+ pCurrent->set_non_homogeneous(!toBool(sValue));
+ }
else
{
SAL_WARN("vcl.layout", "unknown packing: " << sKey.getStr());
More information about the Libreoffice-commits
mailing list