Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Pierre-André,

On Thursday, 2011-11-24 22:47:56 +0100, Pierre-André Jacquod wrote:

here attached an new patch (hopefully wiser) to solve the mentioned
bug. This  ensure that the call to ExtendDataArea does as commented
in the code sc/source/core/tool/dbdata.cxx :
// Extend the DB area to include data rows immediately below.
and does not shrink the original area... So having a smaller area
after the function is clearly wrong.

If you agree, I will push it to master.

Yes, that looks good, if it solves your problem then please go ahead.

BUT this is a workaround, to compensate the not so correct behaviour
of GetDataArea :-(

I wouldn't say it's wrong unless I checked the original intention behind
that code when GetDataArea() is called with bIncludeOld=false, maybe
it's just the call in ExtendDataArea() that should pass true instead?


About the root cause: I am still studing the code of the both
mentioned functions and their integration with filters and filtered
areas. Before touching it, I would like to define what should be the
desired effect. Further some tests have shown me that the behaviour
(regarding area) is not the same, depending if the filter is
activated with Data->Filter->AutoFilter or Standard filter. I fear
some parts will need to be quite overhauled.

And the difference exactly is ...?

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpMLU45smtFL.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.