summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@apache.org>2011-09-08 23:39:35 +0000
committerEike Rathke <erack@apache.org>2011-09-08 23:39:35 +0000
commit483dcc52f7447bf80b857c8317e1709a8dda80a4 (patch)
treeecdf6e49c5408cc259416e14fce5f9a4151c1c2e /sc
parent3f6e30907d1d482a89c3958ec073f06a1df13c88 (diff)
WaE unused variable
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/excform.cxx3
-rw-r--r--sc/source/filter/excel/read.cxx2
2 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index ea2225915026..dae924442e91 100644
--- a/sc/source/filter/excel/excform.cxx
+++ b/sc/source/filter/excel/excform.cxx
@@ -56,7 +56,7 @@ void ImportExcel::Formula25()
XclAddress aXclPos;
sal_uInt16 nXF = 0, nFormLen;
double fCurVal;
- sal_uInt8 nAttr0, nFlag0;
+ sal_uInt8 nFlag0;
sal_Bool bShrFmla;
aIn >> aXclPos;
@@ -72,7 +72,6 @@ void ImportExcel::Formula25()
aIn >> nDummy;
nFormLen = nDummy;
bShrFmla = sal_False;
- nAttr0 = 0x01; // Always calculate
}
else
{// BIFF5
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index 5bbd3ccaa9ec..45a409574e09 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -91,7 +91,6 @@ FltError ImportExcel::Read( void )
FltError eLastErr = eERR_OK;
sal_uInt16 nOpcode;
sal_uInt16 nBofLevel = 0;
- sal_Bool bBiff4Workbook = sal_False;
DBG_ASSERT( &aIn != NULL, "-ImportExcel::Read(): Kein Stream - wie dass?!" );
@@ -189,7 +188,6 @@ FltError ImportExcel::Read( void )
else if( pExcRoot->eDateiTyp == Biff4W )
{
eAkt = Z_Biff4W;
- bBiff4Workbook = sal_True;
}
break;
case EXC_BIFF5: