diff options
author | Aleksei Nikiforov <darktemplar@basealt.ru> | 2018-12-18 16:39:57 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2018-12-19 13:13:59 +0100 |
commit | 77c5d0f4be46071f49957e3e2f7fce24f9e927f3 (patch) | |
tree | 6d24dc5e26fb74ec756ee136c07319097d8b461b /vcl | |
parent | 602a9856743b631a22dbb2a4a69105f4826b6d46 (diff) |
Qt5: remove assert leading to crash while executing 'open' dialog
When Writer is opened using "qt5" VCL plugin,
opening menu item "File" -> "Open" leads to a crash
due to presence of mentioned assert.
Impress crashes same way when same menu item is used.
Change-Id: I9d1937344c694d4f4620be1b71d1181eb9645427
Reviewed-on: https://gerrit.libreoffice.org/65344
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit dd2421b148fedc40547ccff8b332285047a0b09e)
Reviewed-on: https://gerrit.libreoffice.org/65396
Reviewed-by: Aleksei Nikiforov <darktemplar@basealt.ru>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5FilePicker.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5FilePicker.cxx b/vcl/qt5/Qt5FilePicker.cxx index 2895bc34bc1c..ffd482ded5d0 100644 --- a/vcl/qt5/Qt5FilePicker.cxx +++ b/vcl/qt5/Qt5FilePicker.cxx @@ -187,7 +187,6 @@ sal_Int16 SAL_CALL Qt5FilePicker::execute() } vcl::Window* pWindow = ::Application::GetActiveTopWindow(); - assert(pWindow); QWidget* pTransientParent = nullptr; QWindow* pTransientWindow = nullptr; if (pWindow) |