diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-26 21:43:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-27 10:03:59 +0200 |
commit | 9e577313f538fc0d0643f3aa171a92cac112d949 (patch) | |
tree | 10424eeca6d54b0ddbb6e0e2ddcd5aad310becd9 /extensions/source/bibliography/framectr.cxx | |
parent | f46ece5419e4981793189c00b27a6065fcbfaa60 (diff) |
weld MappingDialog
Change-Id: Ie4c6ef0f75384e1fbd68905cf4c70ed6d7ab88fe
Reviewed-on: https://gerrit.libreoffice.org/73003
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/bibliography/framectr.cxx')
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index a2d83e49b51a..6ca93186599c 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -371,8 +371,8 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen if ( !bDisposing ) { ::SolarMutexGuard aGuard; - VclPtr<vcl::Window> pParent = VCLUnoHelper::GetWindow( xWindow ); - WaitObject aWaitObject( pParent ); + weld::Window* pParent = Application::GetFrameWeld(xWindow); + weld::WaitObject aWaitObject(pParent); OUString aCommand( _rURL.Path); if(aCommand == "Bib/Mapping") @@ -385,7 +385,7 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen } else if(aCommand == "Bib/sdbsource") { - OUString aURL = m_xDatMan->CreateDBChangeDialog(pParent ? pParent->GetFrameWeld() : nullptr); + OUString aURL = m_xDatMan->CreateDBChangeDialog(pParent); if(!aURL.isEmpty()) { try |