From kde-commits Mon Mar 29 16:21:11 2010 From: Mike Arthur Date: Mon, 29 Mar 2010 16:21:11 +0000 To: kde-commits Subject: branches/work/koffice-ko/kspread Message-Id: <20100329162111.BA8A5AC883 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=126987964008919 SVN commit 1108708 by mikearthur: Set #PARSE correctly when an a formula could not be parsed. M +2 -0 DependencyManager.cpp --- branches/work/koffice-ko/kspread/DependencyManager.cpp #1108707:1108708 @@ -163,6 +163,8 @@ int depth = d->computeDepth(cell); d->depths.insert(cell , depth); } + if (!sheet->formulaStorage()->data(c).isValid()) + cell.setValue(Value::errorPARSE()); } } }