summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-03-03 13:27:53 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-03-03 14:39:19 +0000
commit8cfda7206139b3017346c435591c77c9741ba8ee (patch)
tree0918ffad15c899f3a0808eb6fb03340688c526c5 /configmgr
parentfaef35d8653003786f9a0ea2ae1a2330fd15d632 (diff)
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 <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/xcuparser.cxx2
1 files changed, 1 insertions, 1 deletions
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());