https://bugs.freedesktop.org/show_bug.cgi?id=47263
--- Comment #4 from Noel Power <[email protected]> 2012-06-27 07:48:42 UTC --- (In reply to comment #3) > Hate to say it though, in my exprerience issues like this usually have a > reason, > that reason usually being the basic compiler/runtime is sooo crap that trying > to > make it do something sensible can be incredibly hard. well at least now I see exactly why this is happening, all uno objects are introspected, all properties of an uno interface object ( or members of of an uno struct ) are retrieved via uno via a XPropertySet interface. So.. that explains why attempts to modify the nested structure fail ( ok we knew it was returning a copy but good to know exactly where ( and in master that is basic/source/classes/sbunoobj.cxx:2129 ) All operations on uno objects are generically treated this way so changing this would require some work. >Would be cool though if > this could work in a sensible way I haven't been convinced that this is an impossible task yet, still investigating, possibly we could intercept attempts to access nested struct members and wrap them with a new internal object that might use reflection instead to set the values ( never used uno reflection but a quick look at the api and it looks promising ) -- 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
