Bugzilla – Attachment 75179 Details for
Bug 42893
EDITING: Improve 'Capitalize first letter of sentence'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
helpful patch
0001-fdo-42893-help-for-improve-capitalize-first-letter.patch (text/plain), 1.22 KB, created by
Caolán McNamara
on 2013-02-20 15:43:45 UTC
(
hide
)
Description:
helpful patch
Filename:
MIME Type:
Creator:
Caolán McNamara
Created:
2013-02-20 15:43:45 UTC
Size:
1.22 KB
patch
obsolete
>From 32b4ed64f6759b101371f247ca1fe30e2410ad2c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> >Date: Wed, 20 Feb 2013 15:38:45 +0000 >Subject: [PATCH] fdo#42893 help for improve capitalize first letter > >Change-Id: If35064d9482d07695bd3343992cd3b914b96630e >--- > editeng/source/misc/svxacorr.cxx | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx >index 870d00b..c9b8bc9 100644 >--- a/editeng/source/misc/svxacorr.cxx >+++ b/editeng/source/misc/svxacorr.cxx >@@ -910,6 +910,21 @@ sal_Bool SvxAutoCorrect::FnCptlSttSntnc( SvxAutoCorrDoc& rDoc, > if( 2 > ( pStr - pStart ) ) > return sal_False; > >+//start todo >+ //*pStr is the end of the last sentence >+ //pStr[6] = <space> >+ //pStr[5] = r >+ //pStr[4] = a >+ //pStr[3] = b <-- we're wondering if we should capitalize this >+ //pStr[2] = <space> >+ //pStr[1] = . >+ //pStr[0] = o >+ //pStr[-1] = . <-- so if this is a "." return false >+ //pStr[-2] = o >+ //pStr[-3] = . >+ //pStr[-4] = F >+//end todo >+ > if( !rCC.isLetterNumeric( > aText, sal::static_int_cast< xub_StrLen >( pStr-- - pStart ) ) ) > { >-- >1.8.1.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42893
: 75179 |
78265