ports/editors/libreoffice/files/patch-vcl_qt5_QtInstance.cxx
Dima Panov 60ab1114e2 */libreoffice*: update to 7.5.0 release (+)
Office team is proud to announce LibreOffice 7.5 Community,
the new major release of the volunteer-supported free office suite for desktop productivity

Read more:	https://blog.documentfoundation.org/blog/2023/02/02/tdf-announces-libreoffice-75-community/
2023-02-04 11:43:03 +03:00

20 lines
881 B
C++

--- vcl/qt5/QtInstance.cxx.orig 2022-12-22 00:14:09 UTC
+++ vcl/qt5/QtInstance.cxx
@@ -492,7 +492,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;
}
@@ -751,7 +751,7 @@ VCLPLUG_QT_PUBLIC SalInstance* create_SalInstance()
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;