On Thu, May 13, 2010 at 06:33:12PM +0800, Qzi er wrote:
> Can any bady help me ?
>
>
> System : windows
>
> ///////////////
> void main( ) {
>
> // Sequence of Sequence of Any
>
> Sequence< Sequence< Any > > aValues(2);
>
> Sequence< Any > aValues2(2);
>
> aValues2[0] <<= (double) 1.1; aValues2[1] <<=
> OUString::createFromAscii("Hello");
>
> aValues[0] = aValues2;
>
> aValues2[0] <<= (double)2.2; aValues2[1] <<=
> OUString::createFromAscii("Hi");
>
> aValues[1] = aValues2;
>
> OUString ouStr;
>
> aValues[1][1]>>=ouStr;
>
> OString oStr = ::rtl::OUStringToOString(ouStr,RTL_TEXTENCODING_ASCII_US);
>
> printf("The string aValue2[1] is %s\n",oStr);
printf("The string aValue2[1] is %s\n",oStr.getStr());
>
> getchar();
>
> }
>
D.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]