https://bugs.freedesktop.org/show_bug.cgi?id=42819
--- Comment #2 from Noel Power <[email protected]> 2012-03-09 06:59:35 PST --- ->Sub TMP0() your suspicion is correct, UNO structures are value based and even for embedded structures it seems BASIC treats them the same way ->Sub TMP2() I strongly believe that it is writer that is playing tricks here and not Basic, in your working version you do border = tbl.TableBorder before modifying border.HorizontalLine, the real difference between your previous version and this one is that all the other members of border ( e.g. TopLine,IsTopLineValid,BottomLine,IsBottomLineValid ,LeftLine,IsLeftLineValid etc. ) so you are sending quite a different structure to the writer table. I would be 99% sure what you think you are sending in the previous example is really what is sent but just writer doesn't like it or it doesn't do what you expect. ->Sub TMP3() this one sounds like a real bug, looking at where it fails in basic it seems that the Variable type for TableBorder seems to marked as empty it should be Object, at a wild guess this is probably because although TableBorder has been evaluated it actually hasn't already called the associated uno method ( there is a lazy invoke type thing that basic does ) so it actually doesn't know what the real type is yet. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
