mcst-linux-kernel/patches-2024.06.26/libreoffice-6.3.0.4/0008-bug124123.patch

37 lines
1.5 KiB
Diff
Raw Normal View History

2024-07-09 13:51:45 +03:00
diff -Naur old/sc/source/filter/dif/difexp.cxx new/sc/source/filter/dif/difexp.cxx
--- old/sc/source/filter/dif/difexp.cxx 2020-05-21 23:41:39.844377365 +0300
+++ new/sc/source/filter/dif/difexp.cxx 2020-05-21 23:58:34.754027609 +0300
@@ -32,6 +32,8 @@
#include <formula/errorcodes.hxx>
#include <tools/stream.hxx>
+thread_local ScDocumentThreadSpecific ScDocument::maThreadSpecific;
+
void ScFormatFilterPluginImpl::ScExportDif( SvStream& rStream, ScDocument* pDoc,
const ScAddress& rOutPos, const rtl_TextEncoding eNach )
{
diff -Naur old/sc/source/ui/attrdlg/scdlgfact.cxx new/sc/source/ui/attrdlg/scdlgfact.cxx
--- old/sc/source/ui/attrdlg/scdlgfact.cxx 2020-05-21 23:41:40.068382141 +0300
+++ new/sc/source/ui/attrdlg/scdlgfact.cxx 2020-05-21 23:44:13.767659658 +0300
@@ -72,6 +72,8 @@
IMPL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl);
+thread_local ScDocumentThreadSpecific ScDocument::maThreadSpecific;
+
short AbstractScAutoFormatDlg_Impl::Execute()
{
return m_xDlg->run();
diff -Naur old/sc/source/ui/vba/excelvbahelper.cxx new/sc/source/ui/vba/excelvbahelper.cxx
--- old/sc/source/ui/vba/excelvbahelper.cxx 2020-05-21 23:41:39.984380350 +0300
+++ new/sc/source/ui/vba/excelvbahelper.cxx 2020-05-21 23:54:16.928525906 +0300
@@ -44,6 +44,8 @@
#include <com/sun/star/script/ModuleInfo.hpp>
#include <com/sun/star/script/ModuleType.hpp>
+thread_local ScDocumentThreadSpecific ScDocument::maThreadSpecific;
+
using namespace ::com::sun::star;
using namespace ::ooo::vba;