[Libreoffice] some hints needed for fdo 42286 in calc

Pierre-André Jacquod pjacquod at alumni.ethz.ch
Tue Nov 1 11:18:08 PDT 2011


hello,

I am trying to debug fdo 42286 in calc. It has to do with autofilter, 
where some empty lines (rows) are shown despite the filter criteria that 
is set. (and a strange filter behaviour).

As entry point, I found sc/.. tools/queryparam.cxx & dbdata.cxx but it 
seems that there all is Ok.

As I understand it, there the query is just "prepared" but I am not able 
to find the code where the actual calculation for displaying it is done. 
could someone hint me / give me a search criteria ?

Just an additional remark: "disassembling" the bug's attached file, I 
see that the content.xml ends with some strange empty row definitions... 
But this still does not justify to appear witin the filter in my 
opinion. Or does this indicates the file is ill formatted ? (sorry, I do 
not know the oasis spec)

<table:table-row table:style-name="ro1" 
table:number-rows-repeated="1048532">
<table:table-cell table:number-columns-repeated="1024"/>
</table:table-row>

<table:table-row table:style-name="ro1" 
table:visibility="filter"><table:table-cell 
table:number-columns-repeated="1024"/>
</table:table-row>

<table:table-row table:style-name="ro1">
<table:table-cell table:number-columns-repeated="1024"/>
</table:table-row>

<table:table-row table:style-name="ro1" 
table:visibility="filter"><table:table-cell 
table:number-columns-repeated="1024"/>
</table:table-row>

<table:table-row table:style-name="ro1">
<table:table-cell table:number-columns-repeated="1024"/>
</table:table-row>

<table:table-row table:style-name="ro1" table:visibility="filter" 
table:number-rows-repeated="5">
<table:table-cell table:number-columns-repeated="1024"/>
</table:table-row>

etc.... all of this kind

thanks for a hint
regards

Pierre-André


More information about the LibreOffice mailing list