diff options
-rw-r--r-- | sc/source/filter/inc/workbooksettings.hxx | 14 | ||||
-rw-r--r-- | sc/source/filter/oox/workbooksettings.cxx | 38 | ||||
-rwxr-xr-x | unusedcode.easy | 7 |
3 files changed, 0 insertions, 59 deletions
diff --git a/sc/source/filter/inc/workbooksettings.hxx b/sc/source/filter/inc/workbooksettings.hxx index 07683d40972b..ed47d5479fc2 100644 --- a/sc/source/filter/inc/workbooksettings.hxx +++ b/sc/source/filter/inc/workbooksettings.hxx @@ -111,20 +111,6 @@ public: /** Sets the save external linked values flag, e.g. from the WSBOOL record. */ void setSaveExtLinkValues( bool bSaveExtLinks ); - /** Imports the CALCCOUNT record. */ - void importCalcCount( BiffInputStream& rStrm ); - /** Imports the CALCMODE record. */ - void importCalcMode( BiffInputStream& rStrm ); - /** Imports the DELTA record. */ - void importDelta( BiffInputStream& rStrm ); - /** Imports the ITERATION record. */ - void importIteration( BiffInputStream& rStrm ); - /** Imports the REFMODE record. */ - void importRefMode( BiffInputStream& rStrm ); - /** Imports the SAVERECALC record. */ - void importSaveRecalc( BiffInputStream& rStrm ); - /** Imports the UNCALCED record. */ - void importUncalced( BiffInputStream& rStrm ); /** Converts the imported workbook settings. */ void finalizeImport(); diff --git a/sc/source/filter/oox/workbooksettings.cxx b/sc/source/filter/oox/workbooksettings.cxx index 0bdbf410c41b..5d0048f9b091 100644 --- a/sc/source/filter/oox/workbooksettings.cxx +++ b/sc/source/filter/oox/workbooksettings.cxx @@ -195,44 +195,6 @@ void WorkbookSettings::setSaveExtLinkValues( bool bSaveExtLinks ) maBookSettings.mbSaveExtLinkValues = bSaveExtLinks; } -void WorkbookSettings::importCalcCount( BiffInputStream& rStrm ) -{ - maCalcSettings.mnIterateCount = rStrm.readuInt16(); -} - -void WorkbookSettings::importCalcMode( BiffInputStream& rStrm ) -{ - sal_Int16 nCalcMode = rStrm.readInt16() + 1; - static const sal_Int32 spnCalcModes[] = { XML_autoNoTable, XML_manual, XML_auto }; - maCalcSettings.mnCalcMode = STATIC_ARRAY_SELECT( spnCalcModes, nCalcMode, XML_auto ); -} - -void WorkbookSettings::importDelta( BiffInputStream& rStrm ) -{ - rStrm >> maCalcSettings.mfIterateDelta; -} - -void WorkbookSettings::importIteration( BiffInputStream& rStrm ) -{ - maCalcSettings.mbIterate = rStrm.readuInt16() != 0; -} - -void WorkbookSettings::importRefMode( BiffInputStream& rStrm ) -{ - maCalcSettings.mnRefMode = (rStrm.readuInt16() == 0) ? XML_R1C1 : XML_A1; -} - -void WorkbookSettings::importSaveRecalc( BiffInputStream& rStrm ) -{ - maCalcSettings.mbCalcOnSave = rStrm.readuInt16() != 0; -} - -void WorkbookSettings::importUncalced( BiffInputStream& ) -{ - // existence of this record indicates incomplete recalc - maCalcSettings.mbCalcCompleted = false; -} - void WorkbookSettings::finalizeImport() { // default settings diff --git a/unusedcode.easy b/unusedcode.easy index 4fc0cb64f76e..eb7fa0a9971b 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -819,13 +819,6 @@ oox::xls::WorkbookGlobals::createBuffersPerSheet(short) oox::xls::WorkbookGlobals::setCodePage(unsigned short) oox::xls::WorkbookGlobals::setIsWorkbookFile() oox::xls::WorkbookHelper::setAppFontEncoding(unsigned short) -oox::xls::WorkbookSettings::importCalcCount(oox::xls::BiffInputStream&) -oox::xls::WorkbookSettings::importCalcMode(oox::xls::BiffInputStream&) -oox::xls::WorkbookSettings::importDelta(oox::xls::BiffInputStream&) -oox::xls::WorkbookSettings::importIteration(oox::xls::BiffInputStream&) -oox::xls::WorkbookSettings::importRefMode(oox::xls::BiffInputStream&) -oox::xls::WorkbookSettings::importSaveRecalc(oox::xls::BiffInputStream&) -oox::xls::WorkbookSettings::importUncalced(oox::xls::BiffInputStream&) oox::xls::WorksheetHelper::getBiffDrawing() const oox::xls::WorksheetHelper::setDefaultColumnFormat(int, int, int) oox::xls::WorksheetHelper::setLabelRanges(oox::xls::ApiCellRangeList const&, oox::xls::ApiCellRangeList const&) |