diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2022-02-17 01:58:41 +0300 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2022-02-17 02:02:03 +0300 |
commit | 33a790e8a22a2ec08a49e135b40a11e1ca29cbf2 (patch) | |
tree | 8518f64eb8281e9a680ecfe8e4d8bc89fe958ed4 /editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx | |
parent | graphics/libetonyek01: adjust for mdds-2.0 (diff) |
Please welcome new generation release of LibreOffice suite - 7.3.0! (+)
It has change tracking enhancements, better autocompletion in Calc,
and many compatibility and performance improvements to import/export filters.
Since this release, FreeBSD port of LibreOffice include PDFium library.
Learn more about LibreOffice 7.3: https://blog.documentfoundation.org/blog/2022/02/02/libreoffice-73-community/
Special thanks to: mikael (for pthread issue hunting)
Sponsored by: Netzkommune, GmbH.
Diffstat (limited to 'editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx')
-rw-r--r-- | editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx b/editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx new file mode 100644 index 000000000000..59eec180e738 --- /dev/null +++ b/editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx @@ -0,0 +1,20 @@ +--- vcl/qt5/QtInstance.cxx.orig 2022-01-26 14:35:29 UTC ++++ vcl/qt5/QtInstance.cxx +@@ -479,7 +479,7 @@ QtInstance::createPicker(css::uno::Reference<css::uno: + { + SolarMutexGuard g; + rtl::Reference<QtFilePicker> pPicker; +- RunInMainThread([&, this]() { pPicker = createPicker(context, eMode); }); ++ RunInMainThread([&pPicker, this, context, eMode]() { pPicker = createPicker(context, eMode); }); + assert(pPicker); + return pPicker; + } +@@ -689,7 +689,7 @@ std::unique_ptr<QApplication> QtInstance::CreateQAppli + extern "C" { + VCLPLUG_QT_PUBLIC SalInstance* create_SalInstance() + { +- static const bool bUseCairo = (nullptr != getenv("SAL_VCL_QT5_USE_CAIRO")); ++ static const bool bUseCairo = true; // (nullptr != getenv("SAL_VCL_QT5_USE_CAIRO")); + + std::unique_ptr<char* []> pFakeArgv; + std::unique_ptr<int> pFakeArgc; |