[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Patch for bug #122237
From:       Alfredo Beaumont <alfredo.beaumont () gmail ! com>
Date:       2006-02-19 11:35:08
Message-ID: 200602191235.09268.alfredo.beaumont () gmail ! com
[Download RAW message or body]

Attached is the patch for bug #122237. strOutText should match strText if the 
cell is empty.

["fix-122237.diff" (text/x-diff)]

Index: kspread_cell.cc
===================================================================
--- kspread_cell.cc	(revisión: 510823)
+++ kspread_cell.cc	(copia de trabajo)
@@ -1595,7 +1595,8 @@
   // Display a formula if warranted.  If not, display the value instead;
   // this is the most common case.
   if ( (!hasError()) && isFormula() && format()->sheet()->getShowFormula()
-       && !( format()->sheet()->isProtected() && format()->isHideFormula( d->column, d->row ) ) )
+       && !( format()->sheet()->isProtected() && format()->isHideFormula( d->column, d->row ) ) 
+       || isEmpty() )
     d->strOutText = d->strText;
   else {
     d->strOutText = sheet()->doc()->formatter()->formatText (this,


_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic