Fwd: discrepancy regarding fdo#61541

Prashant Pandey prashant3.yishu at gmail.com
Tue Apr 9 05:35:18 PDT 2013


---------- Forwarded message ----------
From: Prashant Pandey <prashant3.yishu at gmail.com>
Date: Tue, Apr 9, 2013 at 3:27 AM
Subject: discrepancy regarding fdo#61541
To: erack at redhat.com, michael.meeks at suse.com


Hi,

In continuation with my work on fdo#61541 :
https://bugs.freedesktop.org/show_bug.cgi?id=61541#c4, I had certain
observations which I'd like to share.

Following the code pointers, if I do the changes in accordance with bug
report in https://bugs.freedesktop.org/show_bug.cgi?id=61541#c4, after
changing ScColumn::UpdateSelectionFunction() and
ScColumn::UpdateAreaFunction() as suggested, the behaviour of 'Selection
count' is exactly same as the behaviour of 'aCount', i.e. whenever some
data is in the cell, only then the increment is done and no change is
reflected if the cell is empty (has no data).

To show my changes that produces this effect, I have attached my changes.

This was the same behaviour when I tried the same thing (as above) before
uploading my first patch. Since it was not working for me then too, so I
counted the cells as in my first patch upload : multiplication of rows and
column, which is indeed wrong since it clearly ignores the hidden rows.

May be this tricky bug needs a bit more attention :)

Thanking you in anticipation
Prashant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130409/7948516e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my-changes
Type: application/octet-stream
Size: 8314 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130409/7948516e/attachment-0001.obj>


More information about the LibreOffice mailing list