[PATCH] BUG#62096 Replace O(U)String compareTo with ==

Janit Anjaria janit92 at gmail.com
Tue Apr 16 11:30:39 PDT 2013


Hey!

I am hereby attaching my patch for fdo #62096 :

https://bugs.freedesktop.org/show_bug.cgi?id=62096

Any suggestions would be great to be implemented.

Regards,
Janit

On Tue, Apr 16, 2013 at 11:52 PM, Janit Anjaria <janit92 at gmail.com> wrote:

> Hey Stephan!
> I think that was due to hurry(the things for "!=" things)...and yeah i
> dont know ,i overlooked the build and hence i suppose the thing you just
> mentioned about child_process.cxx is one of those rotten tests.
>
> And yes,ill surely look into the matter with identation(i generally do
> take care of it,but because of a lil hurry as i am also working on the
> project -i had mailed on the list simultaneously ...so swamped with too
> much of code ! :P )
>
> Hope this finds you in good health.
>
> Regards,
> Janit
>
>
> On Tue, Apr 16, 2013 at 6:30 PM, Stephan Bergmann <sbergman at redhat.com>wrote:
>
>> On 04/15/2013 03:19 PM, Janit Anjaria wrote:
>>
>>> I am hereby attaching my patch for fdo #62096 :
>>>
>>> https://bugs.freedesktop.org/**show_bug.cgi?id=62096<https://bugs.freedesktop.org/show_bug.cgi?id=62096>
>>>
>>> Any suggestions would be great to be implemented.
>>>
>>
>> First, note that
>>
>>   s.compareTo(t) != 0
>>
>> is /not/ the same as
>>
>>   s == t
>>
>> Second, did you build and test your change?  It looks like
>> sal/qa/rtl/process/child_**process.cxx is one of those rotting tests
>> that is not built nor executed, not even with a top-level "make check".
>>
>> Also, please take care not to mess up the indentation of lines, making
>> the "if" indented only three instead of four spaces.
>>
>> Stephan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130417/e8b1cdf6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fdo-62096-Replace-O-U-String-compareTo-with.patch
Type: application/octet-stream
Size: 2634 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130417/e8b1cdf6/attachment.obj>


More information about the LibreOffice mailing list