--- scaddins/source/analysis/analysis.cxx	2004-07-30 21:44:00.000000000 +0530
+++ scaddins/source/analysis/analysis.cxx	2005-12-18 18:44:08.683174424 +0530
@@ -822,7 +822,9 @@ double SAL_CALL AnalysisAddIn::getSeries
 {
 	double							fRet = 0.0;
 
-	if( fX != 0.0 )
+	if( fX == 0.0 && fN == 0 )
+		THROW_IAE;
+	else if( fX != 0.0 )
 	{
 		sal_Int32		n1, n2;
 		sal_Int32		nE1 = aCoeffList.getLength();
