Hi Jorge,

I fear, I cannot help you really. Perhaps, you ask again with a clear statement, what the goal of your tries are. Your emails are very hard to understand for me.

jorge ivan poot diaz schrieb:
I've already made a concatenation, in this file:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/cui/source/tabpages/tpcolor.cxx#546


Something like this:

OUStringBuffer buf( 128 );
buf.append( aName );
buf.append( 4 );
OUString string = buf.makeStringAndClear();
OString oString = rtl::OUStringToOString( string ,
RTL_TEXTENCODING_ASCII_US );

Substituting aName by oString

why?

Reading code where a variable has the same or nearly the same identifier as a data type is hard. Please avoid it. There might be other side effects of using string as identifier.

 in this fragment of code
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/cui/source/tabpages/tpcolor.cxx#549,
I have the following error,

http://ooo.pastebin.ca/2366521

Yes, the second parameter has a wrong type.


So, I want to convert this code to a STRING:

STRING ?? Please be very exact in using lower or upper characters.
The class String is in main/cosv/inc/cosv/string.hxx

Kind regards
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to