diff options
Diffstat (limited to 'vcl/qt5/Qt5FilePicker.cxx')
-rw-r--r-- | vcl/qt5/Qt5FilePicker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5FilePicker.cxx b/vcl/qt5/Qt5FilePicker.cxx index 9dea45ed4444..a0d89f2fca1b 100644 --- a/vcl/qt5/Qt5FilePicker.cxx +++ b/vcl/qt5/Qt5FilePicker.cxx @@ -844,7 +844,7 @@ void SAL_CALL Qt5FilePicker::initialize(const uno::Sequence<uno::Any>& args) const auto it = std::find_if(pFrames.begin(), pFrames.end(), [&aWindowHandle](auto pFrame) -> bool { const SystemEnvData* pData = pFrame->GetSystemData(); - return pData && tools::Long(pData->aWindow) == aWindowHandle; + return pData && tools::Long(pData->GetWindowHandle()) == aWindowHandle; }); if (it != pFrames.end()) m_pParentWidget = static_cast<Qt5Frame*>(*it)->asChild(); |