mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-29 21:00:46 +00:00
Related: tdf#161599 ChildAccess::asValue() must return Reference<XInterface>
... otherwise the unotools/source/config/configitem.cxx
ConfigItem::impl_packLocalizedProperties() checking for
(getValueTypeName() == "com.sun.star.uno.XInterface") would not
hit and thus not pack the properties, returning just the useless
XWeak pointer as property.
This in ScUnoAddInCollection::ReadConfiguration() lead to English
names not being extracted from configured Add-Ins' DisplayName or
CompatibilityName, nor any CompatibilityName added to the list.
Fallout from
commit bc70f674c2
CommitDate: Sun Jun 18 08:41:27 2023 +0200
Use getXWeak in configmgr
Change-Id: Ibaab8c08a06113b27ceffe1c45ef548c1d6fa225
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172476
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
This commit is contained in:
@ -245,7 +245,7 @@ css::uno::Any ChildAccess::asValue()
|
||||
return child.is() ? child->asValue() : css::uno::Any();
|
||||
}
|
||||
}
|
||||
value <<= css::uno::Reference(getXWeak());
|
||||
value <<= css::uno::Reference< css::uno::XInterface >(getXWeak());
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user