Fix typo
Change-Id: I9384c03d9e616ac94256d679e3d545afe6794360 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95257 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
ed9e41d10b
commit
15bf1b3935
1 changed files with 2 additions and 2 deletions
|
@ -435,7 +435,7 @@ void SvxAutoCorrect::FnCapitalStartWord( SvxAutoCorrDoc& rDoc, const OUString& r
|
|||
OUString sWord( rTxt.copy( nSttPos - 1, nEndPos - nSttPos + 1 ));
|
||||
if( !FindInWrdSttExceptList(eLang, sWord) )
|
||||
{
|
||||
// Check that word isn't correctly spelled before correcting:
|
||||
// Check that word isn't correctly spelt before correcting:
|
||||
css::uno::Reference< css::linguistic2::XSpellChecker1 > xSpeller =
|
||||
LinguMgr::GetSpellChecker();
|
||||
if( xSpeller->hasLanguage(static_cast<sal_uInt16>(eLang)) )
|
||||
|
@ -1379,7 +1379,7 @@ void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt,
|
|||
InsertQuote( rDoc, nInsPos, cChar, bSttQuote, bInsert, eLang, eType );
|
||||
break;
|
||||
}
|
||||
// tdf#133524 change "<<" and ">>" to double angle quoation marks
|
||||
// tdf#133524 change "<<" and ">>" to double angle quotation marks
|
||||
else if ( IsAutoCorrFlag( ACFlags::ChgQuotes ) && ('<' == cChar || '>' == cChar) &&
|
||||
nInsPos > 0 && cChar == rTxt[ nInsPos-1 ] )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue