diff options
author | Aleksei Nikiforov <darktemplar@basealt.ru> | 2018-12-18 16:39:57 +0300 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-12-19 08:51:04 +0100 |
commit | dd2421b148fedc40547ccff8b332285047a0b09e (patch) | |
tree | 8d9afba21308ad067f8973d7e36425a62cceb903 /vcl/qt5/Qt5FilePicker.cxx | |
parent | 127490ec061e18f77c546069f05826184e1cea06 (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>
Diffstat (limited to 'vcl/qt5/Qt5FilePicker.cxx')
-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) |