summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-02-13 20:12:57 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-13 20:24:19 +0400
commitc2ad01cc22d79aeed31d97220430d9a9fd4fd2b1 (patch)
tree848cc030dc3c841a5db9970a43ca13c458bb9b3e
parentdac6e46f293581cba76556966f830ffeb9173596 (diff)
remove unused fields
-rw-r--r--oox/inc/oox/xls/unitconverter.hxx1
-rw-r--r--oox/source/xls/formulabase.cxx3
-rw-r--r--oox/source/xls/unitconverter.cxx1
3 files changed, 0 insertions, 5 deletions
diff --git a/oox/inc/oox/xls/unitconverter.hxx b/oox/inc/oox/xls/unitconverter.hxx
index a6ae7562339d..e3cd263fa2bc 100644
--- a/oox/inc/oox/xls/unitconverter.hxx
+++ b/oox/inc/oox/xls/unitconverter.hxx
@@ -110,7 +110,6 @@ private:
DoubleVector maCoeffs; /// Coefficients for unit conversion.
OoxErrorCodeMap maOoxErrCodes; /// Maps error code strings to BIFF error constants.
- BiffErrorCodeMap maBiffErrCodes; /// Maps BIFF error constants to error code strings.
sal_Int32 mnNullDate; /// Nulldate of this workbook (number of days since 0000-01-01).
};
diff --git a/oox/source/xls/formulabase.cxx b/oox/source/xls/formulabase.cxx
index 0b10950afff8..98925d766f6e 100644
--- a/oox/source/xls/formulabase.cxx
+++ b/oox/source/xls/formulabase.cxx
@@ -833,7 +833,6 @@ struct FunctionProviderImpl
typedef RefMap< sal_uInt16, FunctionInfo > FuncIdMap;
FunctionInfoVector maFuncs; /// All function infos in one list.
- FuncNameMap maOdfFuncs; /// Maps ODF function names to function data.
FuncNameMap maOoxFuncs; /// Maps OOXML function names to function data.
FuncIdMap maBiff12Funcs; /// Maps BIFF12 function indexes to function data.
FuncIdMap maBiffFuncs; /// Maps BIFF2-BIFF8 function indexes to function data.
@@ -931,8 +930,6 @@ void FunctionProviderImpl::initFunc( const FunctionData& rFuncData, sal_uInt8 nM
// insert the function info into the member maps
maFuncs.push_back( xFuncInfo );
- if( !xFuncInfo->maOdfFuncName.isEmpty() )
- maOdfFuncs[ xFuncInfo->maOdfFuncName ] = xFuncInfo;
if( !xFuncInfo->maOoxFuncName.isEmpty() )
maOoxFuncs[ xFuncInfo->maOoxFuncName ] = xFuncInfo;
if( xFuncInfo->mnBiff12FuncId != NOID )
diff --git a/oox/source/xls/unitconverter.cxx b/oox/source/xls/unitconverter.cxx
index 2438023bc56c..636fb72980fb 100644
--- a/oox/source/xls/unitconverter.cxx
+++ b/oox/source/xls/unitconverter.cxx
@@ -239,7 +239,6 @@ sal_uInt8 UnitConverter::calcBiffErrorCode( const OUString& rErrorCode ) const
void UnitConverter::addErrorCode( sal_uInt8 nErrorCode, const OUString& rErrorCode )
{
maOoxErrCodes[ rErrorCode ] = nErrorCode;
- maBiffErrCodes[ nErrorCode ] = rErrorCode;
}
double UnitConverter::getCoefficient( Unit eUnit ) const