From 33a790e8a22a2ec08a49e135b40a11e1ca29cbf2 Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Thu, 17 Feb 2022 01:58:41 +0300 Subject: 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. --- .../libreoffice/files/patch-vcl_qt5_QtInstance.cxx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx (limited to 'editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx') 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 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 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 pFakeArgv; + std::unique_ptr pFakeArgc; -- cgit v1.2.3