mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
LibreOffice 24.2 Community is here! The new major release of the complete, free, volunteer-supported office suite, with the new calendar-based numbering scheme (YY.M), many new useful features, and a focus on security and accessibility, is available. * Styles for comments * Row/column highlighting in Calc * A search field in the options dialog ...and many other new features Read more: https://blog.documentfoundation.org/blog/2024/01/31/libreoffice-24-2/
21 lines
978 B
C++
21 lines
978 B
C++
--- vcl/qt5/QtInstance.cxx.orig 2023-11-23 12:14:48 UTC
|
|
+++ vcl/qt5/QtInstance.cxx
|
|
@@ -220,7 +220,8 @@ QtInstance::QtInstance(std::unique_ptr<QApplication>&
|
|
|
|
QtInstance::QtInstance(std::unique_ptr<QApplication>& pQApp)
|
|
: SalGenericInstance(std::make_unique<QtYieldMutex>())
|
|
- , m_bUseCairo(nullptr == getenv("SAL_VCL_QT_USE_QFONT"))
|
|
+// , m_bUseCairo(nullptr == getenv("SAL_VCL_QT_USE_QFONT"))
|
|
+ , m_bUseCairo(true) // (nullptr != getenv("SAL_VCL_QT5_USE_CAIRO"));
|
|
, m_pTimer(nullptr)
|
|
, m_bSleeping(false)
|
|
, m_pQApplication(std::move(pQApp))
|
|
@@ -492,7 +493,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;
|
|
}
|