diff options
-rw-r--r-- | oox/inc/oox/xls/addressconverter.hxx | 2 | ||||
-rw-r--r-- | oox/inc/oox/xls/formulabase.hxx | 4 | ||||
-rw-r--r-- | oox/inc/oox/xls/unitconverter.hxx | 2 | ||||
-rw-r--r-- | oox/source/xls/addressconverter.cxx | 18 | ||||
-rw-r--r-- | oox/source/xls/formulabase.cxx | 11 | ||||
-rw-r--r-- | oox/source/xls/unitconverter.cxx | 6 | ||||
-rwxr-xr-x | unusedcode.easy | 4 |
7 files changed, 0 insertions, 47 deletions
diff --git a/oox/inc/oox/xls/addressconverter.hxx b/oox/inc/oox/xls/addressconverter.hxx index ce2c8768928e..681c2bb2b89f 100644 --- a/oox/inc/oox/xls/addressconverter.hxx +++ b/oox/inc/oox/xls/addressconverter.hxx @@ -178,8 +178,6 @@ class BinRangeList : public ::std::vector< BinRange > public: inline explicit BinRangeList() {} - BinRange getEnclosingRange() const; - void read( SequenceInputStream& rStrm ); void read( BiffInputStream& rStrm, bool bCol16Bit = true, bool bRow32Bit = false ); void write( BiffOutputStream& rStrm, bool bCol16Bit = true, bool bRow32Bit = false ) const; diff --git a/oox/inc/oox/xls/formulabase.hxx b/oox/inc/oox/xls/formulabase.hxx index 0a3b35a30a4b..610b2274a69b 100644 --- a/oox/inc/oox/xls/formulabase.hxx +++ b/oox/inc/oox/xls/formulabase.hxx @@ -532,7 +532,6 @@ class FunctionParamInfoIterator public: explicit FunctionParamInfoIterator( const FunctionInfo& rFuncInfo ); - const FunctionParamInfo& getParamInfo() const; bool isCalcOnlyParam() const; bool isExcelOnlyParam() const; FunctionParamInfoIterator& operator++(); @@ -555,9 +554,6 @@ public: explicit FunctionProvider( FilterType eFilter, BiffType eBiff, bool bImportFilter ); virtual ~FunctionProvider(); - /** Returns the function info for an ODF function name, or 0 on error. */ - const FunctionInfo* getFuncInfoFromOdfFuncName( const ::rtl::OUString& rFuncName ) const; - /** Returns the function info for an OOXML function name, or 0 on error. */ const FunctionInfo* getFuncInfoFromOoxFuncName( const ::rtl::OUString& rFuncName ) const; diff --git a/oox/inc/oox/xls/unitconverter.hxx b/oox/inc/oox/xls/unitconverter.hxx index fe14e0f377d7..a6ae7562339d 100644 --- a/oox/inc/oox/xls/unitconverter.hxx +++ b/oox/inc/oox/xls/unitconverter.hxx @@ -94,8 +94,6 @@ public: /** Returns the datetime of the passed serial value, based on current nulldate. */ ::com::sun::star::util::DateTime calcDateTimeFromSerial( double fSerial ) const; - /** Returns an error string from the passed BIFF error code. */ - ::rtl::OUString calcOoxErrorCode( sal_uInt8 nErrorCode ) const; /** Returns a BIFF error code from the passed error string. */ sal_uInt8 calcBiffErrorCode( const ::rtl::OUString& rErrorCode ) const; diff --git a/oox/source/xls/addressconverter.cxx b/oox/source/xls/addressconverter.cxx index 8a5a6701d165..9fd9c387d49a 100644 --- a/oox/source/xls/addressconverter.cxx +++ b/oox/source/xls/addressconverter.cxx @@ -181,24 +181,6 @@ void BinRange::write( BiffOutputStream& rStrm, bool bCol16Bit, bool bRow32Bit ) // ============================================================================ -BinRange BinRangeList::getEnclosingRange() const -{ - BinRange aRange; - if( !empty() ) - { - const_iterator aIt = begin(), aEnd = end(); - aRange = *aIt; - for( ++aIt; aIt != aEnd; ++aIt ) - { - aRange.maFirst.mnCol = ::std::min( aRange.maFirst.mnCol, aIt->maFirst.mnCol ); - aRange.maFirst.mnRow = ::std::min( aRange.maFirst.mnRow, aIt->maFirst.mnRow ); - aRange.maLast.mnCol = ::std::max( aRange.maLast.mnCol, aIt->maLast.mnCol ); - aRange.maLast.mnRow = ::std::max( aRange.maLast.mnRow, aIt->maLast.mnRow ); - } - } - return aRange; -} - void BinRangeList::read( SequenceInputStream& rStrm ) { sal_Int32 nCount = rStrm.readInt32(); diff --git a/oox/source/xls/formulabase.cxx b/oox/source/xls/formulabase.cxx index e9ffa950a5bc..0b10950afff8 100644 --- a/oox/source/xls/formulabase.cxx +++ b/oox/source/xls/formulabase.cxx @@ -797,12 +797,6 @@ FunctionParamInfoIterator::FunctionParamInfoIterator( const FunctionInfo& rFuncI "FunctionParamInfoIterator::FunctionParamInfoIterator - expecting at least 2 infos for paired parameters" ); } -const FunctionParamInfo& FunctionParamInfoIterator::getParamInfo() const -{ - static const FunctionParamInfo saInvalidInfo = { FUNC_PARAM_NONE, FUNC_PARAMCONV_ORG, false }; - return mpParamInfo ? *mpParamInfo : saInvalidInfo; -} - bool FunctionParamInfoIterator::isCalcOnlyParam() const { return mpParamInfo && (mpParamInfo->meValid == FUNC_PARAM_CALCONLY); @@ -967,11 +961,6 @@ FunctionProvider::~FunctionProvider() { } -const FunctionInfo* FunctionProvider::getFuncInfoFromOdfFuncName( const OUString& rFuncName ) const -{ - return mxFuncImpl->maOdfFuncs.get( rFuncName ).get(); -} - const FunctionInfo* FunctionProvider::getFuncInfoFromOoxFuncName( const OUString& rFuncName ) const { return mxFuncImpl->maOoxFuncs.get( rFuncName ).get(); diff --git a/oox/source/xls/unitconverter.cxx b/oox/source/xls/unitconverter.cxx index 194c51d82beb..2438023bc56c 100644 --- a/oox/source/xls/unitconverter.cxx +++ b/oox/source/xls/unitconverter.cxx @@ -230,12 +230,6 @@ DateTime UnitConverter::calcDateTimeFromSerial( double fSerial ) const return aDateTime; } -OUString UnitConverter::calcOoxErrorCode( sal_uInt8 nErrorCode ) const -{ - BiffErrorCodeMap::const_iterator aIt = maBiffErrCodes.find( nErrorCode ); - return (aIt == maBiffErrCodes.end()) ? CREATE_OUSTRING( "#N/A" ) : aIt->second; -} - sal_uInt8 UnitConverter::calcBiffErrorCode( const OUString& rErrorCode ) const { OoxErrorCodeMap::const_iterator aIt = maOoxErrCodes.find( rErrorCode ); diff --git a/unusedcode.easy b/unusedcode.easy index 5143e8255a67..540da7cd04ad 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1372,7 +1372,6 @@ oox::xls::BiffOutputStream::startRecord(unsigned short) oox::xls::BiffOutputStream::tellBase() const oox::xls::BinAddress::write(oox::xls::BiffOutputStream&, bool, bool) const oox::xls::BinRange::contains(oox::xls::BinAddress const&) const -oox::xls::BinRangeList::getEnclosingRange() const oox::xls::BinRangeList::write(oox::xls::BiffOutputStream&, bool, bool) const oox::xls::CellBlock::CellBlock(oox::xls::WorksheetHelper const&, oox::ValueRange const&, int) oox::xls::CellBlock::isBefore(oox::ValueRange const&) const @@ -1387,8 +1386,6 @@ oox::xls::FormulaParser::convertNumberToHyperlink(rtl::OUString const&, double) oox::xls::FormulaParser::importOleTargetLink(oox::xls::BiffInputStream&, unsigned short const*) const oox::xls::FormulaParserImpl::removeOperand(unsigned long, unsigned long) oox::xls::FormulaProcessorBase::generateApiRangeString(com::sun::star::table::CellRangeAddress const&) const -oox::xls::FunctionParamInfoIterator::getParamInfo() const -oox::xls::FunctionProvider::getFuncInfoFromOdfFuncName(rtl::OUString const&) const oox::xls::ShapeAnchor::getToCell() const oox::xls::SheetDataBuffer::XfIdRange::set(com::sun::star::table::CellAddress const&, int, int) oox::xls::SheetDataBuffer::XfIdRange::tryExpand(com::sun::star::table::CellAddress const&, int, int) @@ -1396,7 +1393,6 @@ oox::xls::SheetDataBuffer::XfIdRange::tryMerge(oox::xls::SheetDataBuffer::XfIdRa oox::xls::SheetDataBuffer::XfIdRowRange::intersects(com::sun::star::table::CellRangeAddress const&) const oox::xls::StylesBuffer::getDxf(int) const oox::xls::StylesBuffer::writeStyleXfToPropertyMap(oox::PropertyMap&, int) const -oox::xls::UnitConverter::calcOoxErrorCode(unsigned char) const oox::xls::WorkbookHelper::getBiffFilter() const oox::xls::WorkbookHelper::getCellFromDoc(com::sun::star::table::CellAddress const&) const oox::xls::WorkbookHelper::setTextEncoding(unsigned short) |