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

List:       koffice-devel
Subject:    patch to fix bug #45324
From:       Ariya Hidayat <ariya () tf ! itb ! ac ! id>
Date:       2002-08-21 5:30:10
[Download RAW message or body]

The following patch is a fix for KSpread bug #45324 (consolidate function
result reference area selecting unintuitive).

Please review.

["cons.patch" (TEXT/PLAIN)]

Index: kspread_dlg_cons.cc
===================================================================
RCS file: /home/kde/koffice/kspread/kspread_dlg_cons.cc,v
retrieving revision 1.40
diff -u -3 -p -r1.40 kspread_dlg_cons.cc
--- kspread_dlg_cons.cc	2002/06/02 16:12:52	1.40
+++ kspread_dlg_cons.cc	2002/08/21 05:17:36
@@ -131,8 +131,8 @@ void KSpreadConsolidate::slotOk()
   KSpreadMap *map = m_pView->doc()->map();
 
   KSpreadTable* table = m_pView->activeTable();
-  int dx = m_pView->canvasWidget()->markerColumn();
-  int dy = m_pView->canvasWidget()->markerRow();
+  int dx = m_pView->selectionInfo()->selection().left();
+  int dy = m_pView->selectionInfo()->selection().top();
 
   QString function;
 

_______________________________________________
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