cid#1695393: Uncaught exception
Change-Id: I5dba5704407b4d01f10ae0921ea03f8152bc0551 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207368 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -37,7 +37,6 @@ public:
|
||||
void performCopy(const ScMarkData* pOnlyMarked, ScCloneFlags nCloneFlags,
|
||||
SCTAB nPreviousSourceTabNo = -1);
|
||||
void updateReferencesAfterTabInsertion(RefUpdateInsertTabContext& rContext);
|
||||
void recompileTargetFormulas();
|
||||
};
|
||||
|
||||
} // namespace sc
|
||||
|
||||
@@ -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: */
|
||||
|
||||
Reference in New Issue
Block a user