diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2021-09-17 04:14:10 +1000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2021-09-17 04:14:10 +1000 |
commit | 1388a453605c2162a8efd9c9d24a9b217419a04e (patch) | |
tree | 030fdce71f019de41e28b972b8caf37f2459c2af /editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx | |
parent | textproc/libodfgen01: update to 0.1.8 release (diff) |
editors/libreoffice: update to 7.2.1 release (+)
LibreOffice 7.2.1 is here, with many bugfixes and compatibility improvements.
Learn more about it: https://blog.documentfoundation.org/blog/2021/09/16/libreoffice-7-2-1-community/
* Add OPTION to build GTK4 VCL
* If both GTK3 and KF5 enabled, add GTK3_KDE5 VCL to build
* Force RUN_DEPENDS on JDK if JAVA selected to run extensions
Diffstat (limited to 'editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx')
-rw-r--r-- | editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx b/editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx index f7a46f48d282..42979d9159e1 100644 --- a/editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx +++ b/editors/libreoffice/files/patch-vcl_qt5_Qt5Instance.cxx @@ -1,21 +1,6 @@ ---- vcl/qt5/Qt5Instance.cxx.orig 2020-05-13 11:19:20 UTC +--- vcl/qt5/Qt5Instance.cxx.orig 2021-09-08 17:53:20 UTC +++ vcl/qt5/Qt5Instance.cxx -@@ -287,7 +287,13 @@ SalFrame* Qt5Instance::CreateChildFrame(SystemParentDa - SalFrame* Qt5Instance::CreateFrame(SalFrame* pParent, SalFrameStyleFlags nStyle) - { - assert(!pParent || dynamic_cast<Qt5Frame*>(pParent)); -- return new Qt5Frame(static_cast<Qt5Frame*>(pParent), nStyle, m_bUseCairo); -+ SalFrame* pRet(nullptr); -+ bool bUseCairo = m_bUseCairo; -+ RunInMainThread([&pRet, pParent, nStyle, bUseCairo]() { -+ pRet = new Qt5Frame(static_cast<Qt5Frame*>(pParent), nStyle, bUseCairo); -+ }); -+ assert(pRet); -+ return pRet; - } - - void Qt5Instance::DestroyFrame(SalFrame* pFrame) -@@ -458,7 +464,7 @@ Qt5Instance::createPicker(css::uno::Reference<css::uno +@@ -476,7 +476,7 @@ Qt5Instance::createPicker(css::uno::Reference<css::uno { SolarMutexGuard g; rtl::Reference<Qt5FilePicker> pPicker; @@ -24,7 +9,7 @@ assert(pPicker); return pPicker; } -@@ -663,7 +669,7 @@ std::unique_ptr<QApplication> Qt5Instance::CreateQAppl +@@ -681,7 +681,7 @@ std::unique_ptr<QApplication> Qt5Instance::CreateQAppl extern "C" { VCLPLUG_QT5_PUBLIC SalInstance* create_SalInstance() { |