Hey Thorsten! As i mentioned i have been following the patch attached on bugzilla posted by Caolan : https://bugs.freedesktop.org/attachment.cgi?id=75179&action=edit -What i have done is used the pointer pStr which moves along the string where the capitalisation is to be taken care of. -I have traversed the string uptil we get a fullstop and also checked if the second to last character is a fullstop (' . '). -The problem i have been facing is that though it gets compiled,the change doesnt show up when i try to run it i.e. after using ./install/program/soffice.When the Writer opens and i try to play around with the test cases,it doesnt work according to the need of the bug/feature. -i "think"i have done the code snippet right as i have also returned sal_False where we have second last character as fullstop and sal_True in the other cases. This is what i have tried and i am sure the changes in the code i have made are visible in the patch i just attached in the last email as well. Hope to receive a positive response. Regards, Janit On Mon, Apr 15, 2013 at 4:22 PM, Thorsten Behrens < thb@documentfoundation.org> wrote:
Janit Anjaria wrote:I have been working on this bug and would like to get some help on teh same as i am not able to get the desired output.Though i think the method/concept/logic i have used is similar to the one mentioned in the attachment on : https://bugs.freedesktop.org/show_bug.cgi?id=42893Hi Janit, this is a very unspecific question - unless you're asking something very close to writing the patch ourselves. Have you debugged the code yet? Please ask specific, actionable questions, else you risk not getting an answer at all. Cheers, -- Thorsten
Attachment:
0001-fdo-42893-Improve-Capitalize-first-letter-of-sentenc.patch
Description: Binary data