summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxsystemdependentwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxsystemdependentwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxsystemdependentwindow.cxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxsystemdependentwindow.cxx b/toolkit/source/awt/vclxsystemdependentwindow.cxx
index ea3de1bb9618..c9514b2c2cf0 100644
--- a/toolkit/source/awt/vclxsystemdependentwindow.cxx
+++ b/toolkit/source/awt/vclxsystemdependentwindow.cxx
@@ -57,11 +57,18 @@ css::uno::Any VCLXSystemDependentWindow::queryInterface( const css::uno::Type &
return (aRet.hasValue() ? aRet : VCLXWindow::queryInterface( rType ));
}
+IMPL_IMPLEMENTATION_ID( VCLXSystemDependentWindow )
+
// css::lang::XTypeProvider
-IMPL_XTYPEPROVIDER_START( VCLXSystemDependentWindow )
- cppu::UnoType<css::awt::XSystemDependentWindowPeer>::get(),
- VCLXWindow::getTypes()
-IMPL_XTYPEPROVIDER_END
+css::uno::Sequence< css::uno::Type > VCLXSystemDependentWindow::getTypes()
+{
+ static const ::cppu::OTypeCollection aTypeList(
+ cppu::UnoType<css::lang::XTypeProvider>::get(),
+ cppu::UnoType<css::awt::XSystemDependentWindowPeer>::get(),
+ VCLXWindow::getTypes()
+ );
+ return aTypeList.getTypes();
+}
css::uno::Any VCLXSystemDependentWindow::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType )
{