summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxcontainer.cxx')
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx
index 448a09fd8882..ca66dbc6c042 100644
--- a/toolkit/source/awt/vclxcontainer.cxx
+++ b/toolkit/source/awt/vclxcontainer.cxx
@@ -96,7 +96,7 @@ void VCLXContainer::removeVclContainerListener( const ::com::sun::star::uno::Ref
for ( sal_uInt16 n = 0; n < nChildren; n++ )
{
vcl::Window* pChild = pWindow->GetChild( n );
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xWP = pChild->GetComponentInterface( true );
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xWP = pChild->GetComponentInterface();
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > xW( xWP, ::com::sun::star::uno::UNO_QUERY );
pChildRefs[n] = xW;
}