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

List:       koffice-devel
Subject:    [PATCH] fix for KSpread bug #63331
From:       Lukáš Tinkl <lukas () kde ! org>
Date:       2003-08-30 17:19:38
[Download RAW message or body]

Attached another fix, this time for #63331

(KSpread didn't take different sheets into account when accessing the contents 
of the cell)

Please comment
-- 
Lukáš Tinkl (lukas@kde.org)
KDE developer | KOffice release manager
http://czechia.kde.org

["63331.diff" (text/x-diff)]

Index: kspread_functions_reference.cc
===================================================================
RCS file: /home/kde/koffice/kspread/kspread_functions_reference.cc,v
retrieving revision 1.5
diff -u -r1.5 kspread_functions_reference.cc
--- kspread_functions_reference.cc	17 Jan 2003 22:49:36 -0000	1.5
+++ kspread_functions_reference.cc	30 Aug 2003 17:16:36 -0000
@@ -509,7 +509,7 @@
   if ( !p.isValid() )
     return false;
 
-  KSpreadCell * cell = sheet->cellAt( p.pos.x(), p.pos.y() );
+  KSpreadCell * cell = p.cell();
   if ( cell )
   {
     if ( cell->value().isString() )


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://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