summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxtopwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxtopwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxtopwindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx
index b0d070fb85a8..965312e6954b 100644
--- a/toolkit/source/awt/vclxtopwindow.cxx
+++ b/toolkit/source/awt/vclxtopwindow.cxx
@@ -79,7 +79,7 @@ css::uno::Any VCLXTopWindow::getWindowHandle( const css::uno::Sequence< sal_Int8
{
css::awt::SystemDependentXWindow aSD;
aSD.DisplayPointer = sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_IntPtr >(pSysData->pDisplay));
- aSD.WindowHandle = pSysData->GetWindowHandle();
+ aSD.WindowHandle = pSysData->GetWindowHandle(pWindow->ImplGetFrame());
aRet <<= aSD;
}
#endif