summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/component.cxx')
-rw-r--r--cppuhelper/source/component.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index 5c7226f93a1a..3861f35f03bd 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -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