diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-25 19:42:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-25 19:42:34 +0200 |
commit | 04e6ed499ca95df6e122069b5497db7306529446 (patch) | |
tree | 8f1e0c26cb868e3c68331c2a7cd6c8148ff0cf24 | |
parent | 02ddfd10e9e46e2b121416d815303c386400ba6f (diff) |
loplugin:unreffun, remove unused local class
Change-Id: I3cf3a1733ac79f1d11d38b16543837b5fe26fcc6
-rw-r--r-- | sc/source/filter/oox/formulabuffer.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index fc1f818a0124..73d01e748cd7 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( |