https://bugs.documentfoundation.org/show_bug.cgi?id=51925
--- Comment #18 from Mike Kaganski <[email protected]> --- (In reply to bfoman (inactive) from comment #3) The fix there was to return an empty reference, instead of a non-empty object that doesn't implement any interfaces: commit 904d699f6d76154e541c35395c69d6c85712ec2a, note comment "!! writer tables do not have columns !!". The explanation in the OOo bug was: (thomas.lange) > The model for text tables is row orientated there is no such thing as > a column. > Especially if you consider the splitting and merging of cells there is > no way for a proper column object to exist and be handled. > > Thus the implementation just returns sth that can not be used to do > anything but mets the API requirements. ... > The problem itself is that the internal table representation does not have > columns! > Thus the original implementation for the function only returned an object > that > did not support any interface. > > Since the fact that tables do not have caolumns cannot be changed I only > changed > the function to return an empty XInterface (which is matching the element > type) > instead of the object that can not do anything at all. (In reply to NarayanAras from comment #17) > My bug got marked as duplicate. Rightly so. > This is a 13 years old bug. It is amazing that it is still alive and well! You are welcome to submit a fix. -- You are receiving this mail because: You are the assignee for the bug.
