diff options
Diffstat (limited to 'sc/source/filter/oox/worksheethelper.cxx')
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index fbb4dd223ddd..4d29ad31d136 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -339,6 +339,8 @@ public: /** Final conversion after importing the worksheet. */ void finalizeWorksheetImport(); + void finalizeDrawingImport(); + private: typedef ::std::vector< sal_Int32 > OutlineLevelVec; typedef ::std::pair< ColumnModel, sal_Int32 > ColumnModelRange; @@ -953,9 +955,12 @@ void WorksheetGlobals::finalizeWorksheetImport() lclUpdateProgressBar( mxFinalProgress, 0.5 ); convertColumns(); convertRows(); - lclUpdateProgressBar( mxFinalProgress, 0.75 ); - finalizeDrawings(); lclUpdateProgressBar( mxFinalProgress, 1.0 ); +} + +void WorksheetGlobals::finalizeDrawingImport() +{ + finalizeDrawings(); // forget current sheet index in global data setCurrentSheetIndex( -1 ); @@ -1575,6 +1580,11 @@ void WorksheetHelper::finalizeWorksheetImport() mrSheetGlob.finalizeWorksheetImport(); } +void WorksheetHelper::finalizeDrawingImport() +{ + mrSheetGlob.finalizeDrawingImport(); +} + void WorksheetHelper::setCellFormula( const ::com::sun::star::table::CellAddress& rTokenAddress, const rtl::OUString& rTokenStr ) { getFormulaBuffer().setCellFormula( rTokenAddress, rTokenStr ); |