editeng/source/misc/svxacorr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ed0c84dcc737e8546ae683e6af955f30f08e7681 Author: Heiko Tietze <[email protected]> AuthorDate: Mon Jan 26 09:55:56 2026 +0100 Commit: Heiko Tietze <[email protected]> CommitDate: Mon Jan 26 15:09:07 2026 +0100 Resolves tdf#170428 - Add NBSP at quotation for fr-ch Reverts 8d7ec203956695475c5ce2c3e47a4aa012a48d39 Change-Id: I436236e17cd3d2387b905a02c972b70e2456929c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198126 Tested-by: Jenkins Reviewed-by: Heiko Tietze <[email protected]> diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 0e94ac64d368..874ff44544e8 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1333,7 +1333,7 @@ OUString SvxAutoCorrect::GetQuote( SvxAutoCorrDoc const & rDoc, sal_Int32 nInsPo if( '\"' == cInsChar ) { - if (primary(eLang) == primary(LANGUAGE_FRENCH) && eLang != LANGUAGE_FRENCH_SWISS) + if (primary(eLang) == primary(LANGUAGE_FRENCH)) { if( bSttQuote ) sRet += " "; @@ -1491,7 +1491,7 @@ void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, } if ( eType == ACQuotes::NONE && !bSingle && - ( primary(eLang) == primary(LANGUAGE_FRENCH) && eLang != LANGUAGE_FRENCH_SWISS ) ) + ( primary(eLang) == primary(LANGUAGE_FRENCH)) ) eType = ACQuotes::NonBreakingSpace; InsertQuote( rDoc, nInsPos, cChar, bSttQuote, bInsert, eLang, eType );
