From 8cfda7206139b3017346c435591c77c9741ba8ee Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Fri, 3 Mar 2017 13:27:53 +0100 Subject: tdf#106283: Registry settings are not read properly on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Tamás Zolnai --- configmgr/source/xcuparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configmgr/source') diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx index 34e0eb5973c8..e999cf1e28b0 100644 --- a/configmgr/source/xcuparser.cxx +++ b/configmgr/source/xcuparser.cxx @@ -636,7 +636,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()); -- cgit