[dev] Re: OUString

2011-04-26 Thread Rohit Kulkarni
Thank you for your reply. On Tue, Apr 26, 2011 at 1:16 PM, Mathias Bauer wrote: > On 26.04.2011 08:07, Rohit Kulkarni wrote: > >> How do I convert OUString to normal const char * in .cxx file. >> Because I am using ldap_open(const char*,int) function which has const >> char* as parameter. >> >>

[dev] Re: OUString

2011-04-26 Thread tora - Takamichi Akiyama
On 26.04.2011 08:07, Rohit Kulkarni wrote: How do I convert OUString to normal const char * in .cxx file. Because I am using ldap_open(const char*,int) function which has const char* as parameter. On 2011/04/26 16:46, Mathias Bauer wrote: rtl::OUString objects contain UniCode strings. If you w

[dev] Re: OUString

2011-04-26 Thread Mathias Bauer
On 26.04.2011 08:07, Rohit Kulkarni wrote: How do I convert OUString to normal const char * in .cxx file. Because I am using ldap_open(const char*,int) function which has const char* as parameter. Regards, Rohit rtl::OUString objects contain UniCode strings. If you want to convert them to a c

[dev] Re: OUString

2011-03-26 Thread Michael Stahl
On 26/03/2011 06:49, Rohit Kulkarni wrote: > How can I see the value of an OUString variable in gdb? > > Regards, > Rohit you can add some functions to the gdb configuration that allow printing the various string types used in OOo: http://wiki.services.openoffice.org/wiki/Debugging -- "If rasc