<div class="gmail_quote">2013/2/16 Prashant Pandey <span dir="ltr"><<a href="mailto:prashant3.yishu@gmail.com" target="_blank">prashant3.yishu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Jean-Noel,<br><br>I am an undergrad student from India, new to the open source world, and trying contribute something good and productive to it. <br><br>I am happy to see you actively work on Patch 38838 :) and am also working on the same patch since last few days and trying hard to get touch with it comfortably. However, things are not going in their best way.<br>


<br>Can you help me with fixing the same bug and getting me more comfortable with it.<br>What is the way to replace String with OUString. Is it anywhere I see them, I just need to replace them or there are other factors also I need to take them under consideration?<br>


<br>I shall be grateful to you for being patient and helping/guiding me for the same :)<br>Waiting for your earliest reply <br><br>Thanks and Regards<span class="HOEnZb"><font color="#888888"><br>Prashant Pandey<br>
</font></span></blockquote></div><br><br>Hi Prashant,<br><br>Welcome on board! The more people work on this bug the faster it will be solved and it is a big one.<br>I suggets you take a look at this page:<br><a href="https://wiki.documentfoundation.org/Development/String_Classes">https://wiki.documentfoundation.org/Development/String_Classes</a><br>

<br>It outlines how to replace String/UniString/XubString (the 2 latter are #define's of String) with OUString.<br>You
 can also take a look at the doc for OUString 
(<a href="http://api.libreoffice.org/docs/cpp/ref/classrtl_1_1_o_u_string.html">http://api.libreoffice.org/docs/cpp/ref/classrtl_1_1_o_u_string.html</a> ) 
and OUStringBuffer ( 
<a href="http://api.libreoffice.org/docs/cpp/ref/classrtl_1_1_o_u_string_buffer.html">http://api.libreoffice.org/docs/cpp/ref/classrtl_1_1_o_u_string_buffer.html</a>
 ).<br>Since OUString is immutable it is to be used when a String does 
not change or not much, while OUStringBuffer is to be used to build an 
OUString.<br><br>I suggest you read these pages and take a look at 
previous commits on <a href="http://cgit.freedesktop.org/libreoffice/core/log/">http://cgit.freedesktop.org/libreoffice/core/log/</a> 
where you can do queries to find the relevant commits.<br><br>Also I suggest you subscribe to the developer's mailing list and ask your questions regarding this bug there.<br><br>Thanks and good luck!<br>Jean-Noël<br>

<br>