diff --git a/sc/inc/TableContentCopier.hxx b/sc/inc/TableContentCopier.hxx index 9154a5d44700..7f6f324d7d6d 100644 --- a/sc/inc/TableContentCopier.hxx +++ b/sc/inc/TableContentCopier.hxx @@ -37,7 +37,6 @@ public: void performCopy(const ScMarkData* pOnlyMarked, ScCloneFlags nCloneFlags, SCTAB nPreviousSourceTabNo = -1); void updateReferencesAfterTabInsertion(RefUpdateInsertTabContext& rContext); - void recompileTargetFormulas(); }; } // namespace sc diff --git a/sc/source/core/data/TableContentCopier.cxx b/sc/source/core/data/TableContentCopier.cxx index e090e65a8579..6b55142738bb 100644 --- a/sc/source/core/data/TableContentCopier.cxx +++ b/sc/source/core/data/TableContentCopier.cxx @@ -96,12 +96,10 @@ void sc::TableContentCopier::updateReferencesAfterTabInsertion( mpSourceTab->UpdateCompile(); } -void sc::TableContentCopier::recompileTargetFormulas() +sc::TableContentCopier::~TableContentCopier() { // maybe already compiled in Clone, but used names need recompilation mpTargetTab->UpdateCompile(true); } -sc::TableContentCopier::~TableContentCopier() { recompileTargetFormulas(); } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */