Drop some OTypeCollection uses

Change-Id: Ia1467c44998961f5e0820fb4d0621a4189d49d9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178095
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski
2024-12-08 19:07:31 +01:00
parent f8aa78379c
commit 2ef6b7f9db
2 changed files with 4 additions and 7 deletions
+3 -3
View File
@@ -107,13 +107,13 @@ void OComponentHelper::release() noexcept
Sequence< Type > OComponentHelper::getTypes()
{
static OTypeCollection s_aTypes(
static const Sequence s_aTypes {
cppu::UnoType<lang::XComponent>::get(),
cppu::UnoType<lang::XTypeProvider>::get(),
cppu::UnoType<XAggregation>::get(),
cppu::UnoType<XWeak>::get() );
cppu::UnoType<XWeak>::get() };
return s_aTypes.getTypes();
return s_aTypes;
}
// XComponent