https://bugs.freedesktop.org/show_bug.cgi?id=65405
--- Comment #9 from Julien Nabet <[email protected]> --- I found in editeng/source/misc/svxacorr.cxx this: 613 bool SvxAutoCorrect::FnAddNonBrkSpace( 614 SvxAutoCorrDoc& rDoc, const OUString& rTxt, 615 sal_Int32, sal_Int32 nEndPos, 616 LanguageType eLang ) 617 { 618 bool bRet = false; 619 620 CharClass& rCC = GetCharClass( eLang ); 621 622 if ( rCC.getLanguageTag().getLanguage() == "fr" ) 623 { 624 bool bFrCA = (rCC.getLanguageTag().getCountry() == "CA"); 625 OUString allChars = ":;?!%"; I tried to insert a dash in allChars but make debugrun indicated this: warn:rtl.string:16396:1:sal/rtl/strtmpl.cxx:1269: rtl_uString_newFromLiteral - Found char > 127 So I tried this: bool bIsSpecial = (allChars.indexOf( cChar ) != -1) || (cChar == '–'); but had: /home/julien/compile-libreoffice/libreoffice/editeng/source/misc/svxacorr.cxx:632:74: error: multi-character character constant [-Werror=multichar] bool bIsSpecial = (allChars.indexOf( cChar ) != -1) || (cChar == '–'); -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
