summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxdevice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxdevice.cxx')
-rw-r--r--toolkit/source/awt/vclxdevice.cxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index 6e3fc797a021..8eb75223c9bb 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -68,11 +68,18 @@ css::uno::Any VCLXDevice::queryInterface( const css::uno::Type & rType )
// css::lang::XUnoTunnel
IMPL_XUNOTUNNEL( VCLXDevice )
+IMPL_IMPLEMENTATION_ID( VCLXDevice )
+
// css::lang::XTypeProvider
-IMPL_XTYPEPROVIDER_START( VCLXDevice )
- cppu::UnoType<css::awt::XDevice>::get(),
- cppu::UnoType<css::awt::XUnitConversion>::get()
-IMPL_XTYPEPROVIDER_END
+css::uno::Sequence< css::uno::Type > VCLXDevice::getTypes()
+{
+ static const css::uno::Sequence< css::uno::Type > aTypeList {
+ cppu::UnoType<css::lang::XTypeProvider>::get(),
+ cppu::UnoType<css::awt::XDevice>::get(),
+ cppu::UnoType<css::awt::XUnitConversion>::get()
+ };
+ return aTypeList;
+}
// css::awt::XDevice,