From f98a687f1554ad7c6f4c16184086ad7b8ee4276d Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Sun, 28 Jun 2015 08:11:59 +0200 Subject: remove dead code Change-Id: If60fd90f1ffb8a58cc43e4c4a0f80f68b7511937 --- sw/source/core/unocore/unotbl.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sw') 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" ); - } } } } -- cgit