From 47e8d1af912ff0399349ac1b97b3d671feb30f5a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Apr 2013 01:43:21 +0530 Subject: [PATCH] Editing:improve 'Capitalize first letter of Sentence' --- editeng/source/misc/svxacorr.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 96f5b86..0ac203e 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -904,6 +904,8 @@ sal_Bool SvxAutoCorrect::FnCptlSttSntnc( SvxAutoCorrDoc& rDoc, case 0x3002 : case 0xFF0E : { + if(*(pStr-2) == '.') + return sal_False; if( nFlag & C_FULL_STOP ) return sal_False; // no valid separator -> no replacement nFlag |= C_FULL_STOP; -- 1.8.1.4