summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/formulabuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/formulabuffer.cxx')
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 818dd4da166d..9c010cb39f68 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -36,7 +36,6 @@ using namespace ::com::sun::star::table;
using namespace ::com::sun::star::sheet;
using namespace ::com::sun::star::container;
-#include <boost/noncopyable.hpp>
#include <memory>
namespace oox { namespace xls {
@@ -47,15 +46,20 @@ namespace {
* Cache the token array for the last cell position in each column. We use
* one cache per sheet.
*/
-class CachedTokenArray : private boost::noncopyable
+class CachedTokenArray
{
public:
+ CachedTokenArray(const CachedTokenArray&) = delete;
+ const CachedTokenArray& operator=(const CachedTokenArray&) = delete;
- struct Item : boost::noncopyable
+ struct Item
{
SCROW mnRow;
ScFormulaCell* mpCell;
+ Item(const Item&) = delete;
+ const Item& operator=(const Item&) = delete;
+
Item() : mnRow(-1), mpCell(nullptr) {}
};
@@ -307,7 +311,7 @@ void processSheetFormulaCells(
applyCellFormulaValues(rDoc, *rItem.mpCellFormulaValues);
}
-class WorkerThread: public salhelper::Thread, private boost::noncopyable
+class WorkerThread: public salhelper::Thread
{
ScDocumentImport& mrDoc;
FormulaBuffer::SheetItem& mrItem;
@@ -315,6 +319,9 @@ class WorkerThread: public salhelper::Thread, private boost::noncopyable
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 ) :