summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/xls/sheetdatabuffer.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/oox/source/xls/sheetdatabuffer.cxx b/oox/source/xls/sheetdatabuffer.cxx
index 54fd7b3e8425..0839b9dc55d4 100644
--- a/oox/source/xls/sheetdatabuffer.cxx
+++ b/oox/source/xls/sheetdatabuffer.cxx
@@ -239,9 +239,13 @@ void CellBlockBuffer::setColSpans( sal_Int32 nRow, const ValueRangeSet& rColSpan
CellBlock* CellBlockBuffer::getCellBlock( const CellAddress& rCellAddr )
{
+ (void) rCellAddr; // Avoid WaE: unreferenced formal parameter, drop this line
+ // if the below "temporarily disabled" early return is removed
+
// Temporarily disabled. TODO: Fix this.
return NULL;
+#if 0 // Avoid WaE: unreachable code. Don't remove this ifdeffed out block, see above
OSL_ENSURE( rCellAddr.Row >= mnCurrRow, "CellBlockBuffer::getCellBlock - passed row out of order" );
// prepare cell blocks, if row changes
if( rCellAddr.Row != mnCurrRow )
@@ -312,6 +316,7 @@ CellBlock* CellBlockBuffer::getCellBlock( const CellAddress& rCellAddr )
// no valid cell block found
return 0;
+#endif // See start of method
}
void CellBlockBuffer::finalizeImport()