configmgr/source/xcuparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ed930e8eabe20c3656720a3d7578fbb533296287 Author: Tamás Zolnai <[email protected]> Date: Fri Mar 3 13:27:53 2017 +0100 tdf#106283: Registry settings are not read properly on Windows In general, properties' type is read from scheme files (xcs) but scheme files can contain property groups without a type (extensible groups). In this case the xcd files defines the actual properties and their type. handleUnknownGroupProp() method is called when a property is not defined in the scheme file. Here we have the type information read from xcd file, so use it instead of setting it to any Change-Id: I4180d154ecf4130ecbb9c808cee6529124842790 Reviewed-on: https://gerrit.libreoffice.org/34859 Reviewed-by: Tamás Zolnai <[email protected]> Tested-by: Tamás Zolnai <[email protected]> (cherry picked from commit 8cfda7206139b3017346c435591c77c9741ba8ee) diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx index a89ab66..aac4f53 100644 --- a/configmgr/source/xcuparser.cxx +++ b/configmgr/source/xcuparser.cxx @@ -637,7 +637,7 @@ void XcuParser::handleUnknownGroupProp( valueParser_.type_ = type; rtl::Reference< Node > prop( new PropertyNode( - valueParser_.getLayer(), TYPE_ANY, true, css::uno::Any(), + valueParser_.getLayer(), type, true, css::uno::Any(), true)); if (finalized) { prop->setFinalized(valueParser_.getLayer());
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
