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

List:       kde-commits
Subject:    koffice/kspread
From:       Philipp Müller <philipp.mueller () gmx ! de>
Date:       2003-01-31 20:53:26
[Download RAW message or body]

CVS commit by pmueller: 

Fix #53615 (normal): copy / paste formula results are not calculated

When we paste, then the cells are not part of a loaded file (cell->load(QDomObject) \
). In this case they need to be recalculated.


  M +7 -0      kspread_sheet.cc   1.484


--- koffice/kspread/kspread_sheet.cc  #1.483:1.484
@@ -5300,4 +5300,11 @@ bool KSpreadSheet::loadSelection( const 
               cell->copyAll(cellBackup);
             }
+            else
+            {
+              if( cell->isFormula() )
+              {
+                  cell->setCalcDirtyFlag();
+              }
+            }
 
             delete cellBackup;


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

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