diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-25 20:59:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-26 13:27:17 +0100 |
commit | 0069bce585ae60eafaaf0f52928941c16eab4fae (patch) | |
tree | 9725974536229b9dbf6d17ce4d990c9ea6b34a71 /vcl/qt5/Qt5FilePicker.cxx | |
parent | e0df00a1c3ec9340fca917dcad2a86d527e7d1dd (diff) |
use an accessor for SystemEnvData::aWindow
with an eye to making it on-demand
Change-Id: If6cefd68a336dc6afe23591c857bd71034215b54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109929
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
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(); |