[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Sep 25 17:45:22 UTC 2016


 sc/source/filter/oox/formulabuffer.cxx |   26 --------------------------
 1 file changed, 26 deletions(-)

New commits:
commit 04e6ed499ca95df6e122069b5497db7306529446
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Sep 25 19:42:34 2016 +0200

    loplugin:unreffun, remove unused local class
    
    Change-Id: I3cf3a1733ac79f1d11d38b16543837b5fe26fcc6

diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index fc1f818..73d01e7 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -311,32 +311,6 @@ void processSheetFormulaCells(
         applyCellFormulaValues(rDoc, *rItem.mpCellFormulaValues);
 }
 
-class WorkerThread: public salhelper::Thread
-{
-    ScDocumentImport& mrDoc;
-    FormulaBuffer::SheetItem& mrItem;
-    std::unique_ptr<SvNumberFormatter> mpFormatter;
-    const uno::Sequence<sheet::ExternalLinkInfo>& mrExternalLinks;
-
-public:
-    WorkerThread(const WorkerThread&) = delete;
-    const WorkerThread& operator=(const WorkerThread&) = delete;
-
-    WorkerThread(
-        ScDocumentImport& rDoc, FormulaBuffer::SheetItem& rItem, SvNumberFormatter* pFormatter,
-        const uno::Sequence<sheet::ExternalLinkInfo>& rExternalLinks ) :
-        salhelper::Thread("xlsx-import-formula-buffer-worker-thread"),
-        mrDoc(rDoc), mrItem(rItem), mpFormatter(pFormatter), mrExternalLinks(rExternalLinks) {}
-
-    virtual ~WorkerThread() override {}
-
-protected:
-    virtual void execute() override
-    {
-        processSheetFormulaCells(mrDoc, mrItem, *mpFormatter, mrExternalLinks);
-    }
-};
-
 }
 
 FormulaBuffer::SharedFormulaEntry::SharedFormulaEntry(


More information about the Libreoffice-commits mailing list