summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-06-28 08:11:59 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-06-30 10:39:59 +0200
commitf98a687f1554ad7c6f4c16184086ad7b8ee4276d (patch)
treebdc0b1859c215c0b568a6713794c64bda9f8a38f /sw
parent57ac4a57d772546089332a1f302a4b1d8dac6961 (diff)
remove dead code
Change-Id: If60fd90f1ffb8a58cc43e4c4a0f80f68b7511937
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unotbl.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 113d6b6fd61c..c83083b53890 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -3540,7 +3540,7 @@ void SwXCellRange::GetDataSequence(
}
else if (pTextData)
pTextData[nDtaCnt++] = lcl_getString(*pXCell);
- else if (pDblData)
+ else
{
double fVal = fNan;
if (!bForceNumberResults || table::CellContentType_TEXT != pXCell->getType())
@@ -3591,9 +3591,6 @@ void SwXCellRange::GetDataSequence(
}
pDblData[nDtaCnt++] = fVal;
}
- else {
- OSL_FAIL( "output sequence missing" );
- }
}
}
}