Daniel Boelzle wrote:
Hello Jayant Balraj Madavi, Noel,

Well, the initial problem was about pure C++-UNO.  It is not clear to me
why OOo Basic is involved.  So please rephrase the exact problem again.
BTW: dumping an uno::Any, you can use comphelper/anytostring.hxx (resp.
comphelper::anyToString()).

regards,
-Daniel

Hi Daniel,
1st, correct imo there is no was never a c++/uno problem,
2nd worth having another read of my previous posting, but perhaps I wasn't clear enough ;-)

so to summarize, my best guess is that when basic encounters a return value which is an Any containing a [ Sequence< Sequence < Any > > ], it internally represents this as an [ array of array of the (type that the Any contains) ] and NOT an [ array of array of Any's]. When Basic subsequently uses this value e.g. to pass to a method (expecting an Any ) of another uno object, it (Basic) passes is an Any containing [ Sequence< Sequence < something else e.g. sal_Int32, String etc.> > ]
but not what the code expects e.g. a [ Sequence< Sequence < Any > > ] ;-)

so I feel this is a bug, Andreas would know best about that, I'll raise a bug for that. But, you could help here with your expert knowledge, if know of an easy programmatic way to determine the exact type of whats in the Any especially with respect to Sequences< Sequences > that would be great ;-)

Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to