[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Sun Apr 2 19:50:19 UTC 2017
sc/source/filter/starcalc/scflt.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 785ef3623447cb06f8d0987b9abc86960e848a39
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Apr 2 17:45:38 2017 +0100
move this work to end of Sc10Import::Import
Change-Id: I28413f710642c904fbe7508a14272ab31bf4df3f
diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx
index 2d7128be907b..509d8013eba3 100644
--- a/sc/source/filter/starcalc/scflt.cxx
+++ b/sc/source/filter/starcalc/scflt.cxx
@@ -938,9 +938,6 @@ Sc10Import::Sc10Import(SvStream& rStr, ScDocument* pDocument ) :
Sc10Import::~Sc10Import()
{
- pDoc->CalcAfterLoad();
- pDoc->UpdateAllCharts();
-
delete pFontCollection;
delete pNameCollection;
delete pPatternCollection;
@@ -988,6 +985,9 @@ sal_uLong Sc10Import::Import()
pPrgrsBar = nullptr;
#endif
+ pDoc->CalcAfterLoad();
+ pDoc->UpdateAllCharts();
+
return nError;
}
More information about the Libreoffice-commits
mailing list