Re: use of css.container.EnumerableMap

Ariel Constenla-Haile <[email protected]> Sat, 18 Dec 2010 22:00:05 -0300
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
On Saturday 18 December 2010, 21:34:00, Ariel Constenla-Haile wrote:
> IMHO the wrong choice was to use the UNO type instead of
> com.sun.star.uno.TypeClass.
> With TypeClass and the support for new-style service constructor, it could
> have been as simple as:
> 
>         Dim aMap
>         aMap = com.sun.star.container.EnumerableMap.create(_
>                         com.sun.star.uno.TypeClass.SHORT,_
>                         com.sun.star.uno.TypeClass.STRING)

looking at 
http://api.openoffice.org/docs/common/ref/com/sun/star/container/EnumerableMap.html
I see this won't work, because the EnumerableMap also takes other types than 
simple ones, like ENUM and INTERFACE; sure in this cases the UNO type is need 
and the uno.TypeClass is not enough.

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iQIcBAABCAAGBQJNDVkcAAoJEMjP1bm45QNW4zsQALMaYAYuUiRhaG7TYLydw8BJ
0aWEVrCyR0XWbjWtRuOYk9jGzoDAqN5ptfz/+sbgUKDE4I6YyjR+ZnH0K/oPbqNU
+yYYOnSqhtXFlIBwRD3H/WLW4CD8VI7uqqDhxt5A2SWWvk8MPsy/6K4ioJUmi40C
Ych8PhFiVXNbsHmB4PV6QPw7n04luWNiPVGRHGS4e1oaMS0+nBW4qeT3MWCa8knI
F8OdSPxos6Yocfe2JJqdh2uJBODsDVE/buNJJae9KaupvgbuGGZJmiWSYQEzCp6/
r5+nZOfhYdT3z0fjLPIcatLUS8Yptl4rMZu2LJNKExAhJu9tHtlGqFl45TadU1KL
FyII0tOHsDalNwCPzupCz+8j2ZCKZnO2aRcrgaREYh43AezkwOGYIG5VoxBet0Pi
HHbNvHTBNMArvIMETMdzSA+xbpRzX5t0IHBklAR1382JYWW4BYpwpDVmWZPVY3Bc
AcaueDxByo/KgXnJZwiO9haySJCs6cgYRvAlmxZ91GtzOv0bzuTjjf/kUOD/SYre
7OlIeGLmssOaREqYpiytbv5qubk0ZbkJTVx69ElQ5aF0zk4LKyrNJKsyu1TjLRju
1hieDHKzrYG0hFBPypMjHY5R/AVuxy5rbiVZ1m3UN5ZniFL05Kd/UiTriYhk6RNd
jbRcrrFkL8FFQDZWNvU4
=Ey6W
-----END PGP SIGNATURE-----