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 21:53:42 +0100
commitc44d7bbcb6c7048dec93e9784e1e8fc9d20db382 (patch)
tree3fc9f07784eda20a20d88df7b793f9840afb288f /configmgr
parent917aac7aa689dc7279ee492e7102d33a9030d929 (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> (cherry picked from commit 8cfda7206139b3017346c435591c77c9741ba8ee)
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());