diff options
-rw-r--r-- | cui/source/inc/autocdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 18 | ||||
-rw-r--r-- | editeng/source/misc/acorrcfg.cxx | 8 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 16 | ||||
-rw-r--r-- | editeng/source/misc/swafopt.cxx | 4 | ||||
-rw-r--r-- | include/editeng/svxacorr.hxx | 6 | ||||
-rw-r--r-- | include/editeng/swafopt.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/edit/acorrect.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/edit/autofmt.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/inc/acorrect.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 2 |
13 files changed, 39 insertions, 39 deletions
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index db8bc8a84323..a972b907168a 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -132,7 +132,7 @@ class OfaSwAutoFmtOptionsPage : public SfxTabPage OUString sDeleteEmptyPara; OUString sUseReplaceTbl; - OUString sCptlSttWord; + OUString sCapitalStartWord; OUString sCptlSttSent; OUString sUserStyle; OUString sBullet; diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 27efd0f83faa..abbe7aef323d 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -228,7 +228,7 @@ bool OfaAutocorrOptionsPage::FillItemSet( SfxItemSet* ) sal_uLong nPos = 0; pAutoCorrect->SetAutoCorrFlag(Autocorrect, m_pCheckLB->IsChecked(nPos++)); - pAutoCorrect->SetAutoCorrFlag(CptlSttWrd, m_pCheckLB->IsChecked(nPos++)); + pAutoCorrect->SetAutoCorrFlag(CapitalStartWord, m_pCheckLB->IsChecked(nPos++)); pAutoCorrect->SetAutoCorrFlag(CapitalStartSentence, m_pCheckLB->IsChecked(nPos++)); pAutoCorrect->SetAutoCorrFlag(ChgWeightUnderl, m_pCheckLB->IsChecked(nPos++)); pAutoCorrect->SetAutoCorrFlag(SetINetAttr, m_pCheckLB->IsChecked(nPos++)); @@ -270,7 +270,7 @@ void OfaAutocorrOptionsPage::Reset( const SfxItemSet* ) sal_uLong nPos = 0; m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & Autocorrect) ); - m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & CptlSttWrd) ); + m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & CapitalStartWord) ); m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & CapitalStartSentence) ); m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & ChgWeightUnderl) ); m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & SetINetAttr) ); @@ -415,7 +415,7 @@ OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage( vcl::Window* pParent, : SfxTabPage(pParent, "ApplyAutoFmtPage", "cui/ui/applyautofmtpage.ui", &rSet) , sDeleteEmptyPara(CUI_RESSTR(RID_SVXSTR_DEL_EMPTY_PARA)) , sUseReplaceTbl(CUI_RESSTR(RID_SVXSTR_USE_REPLACE)) - , sCptlSttWord(CUI_RESSTR(RID_SVXSTR_CPTL_STT_WORD)) + , sCapitalStartWord(CUI_RESSTR(RID_SVXSTR_CPTL_STT_WORD)) , sCptlSttSent(CUI_RESSTR(RID_SVXSTR_CPTL_STT_SENT)) , sUserStyle(CUI_RESSTR(RID_SVXSTR_USER_STYLE)) , sBullet(CUI_RESSTR(RID_SVXSTR_BULLET)) @@ -531,9 +531,9 @@ bool OfaSwAutoFmtOptionsPage::FillItemSet( SfxItemSet* ) m_pCheckLB->IsChecked(USE_REPLACE_TABLE, CBCOL_SECOND)); bCheck = m_pCheckLB->IsChecked(CORR_UPPER, CBCOL_FIRST); - bModified |= pOpt->bCptlSttWrd != bCheck; - pOpt->bCptlSttWrd = bCheck; - pAutoCorrect->SetAutoCorrFlag(CptlSttWrd, + bModified |= pOpt->bCapitalStartWord != bCheck; + pOpt->bCapitalStartWord = bCheck; + pAutoCorrect->SetAutoCorrFlag(CapitalStartWord, m_pCheckLB->IsChecked(CORR_UPPER, CBCOL_SECOND)); bCheck = m_pCheckLB->IsChecked(BEGIN_UPPER, CBCOL_FIRST); @@ -650,7 +650,7 @@ void OfaSwAutoFmtOptionsPage::Reset( const SfxItemSet* ) // The following entries have to be inserted in the same order // as in the OfaAutoFmtOptions-enum! m_pCheckLB->GetModel()->Insert(CreateEntry(sUseReplaceTbl, CBCOL_BOTH )); - m_pCheckLB->GetModel()->Insert(CreateEntry(sCptlSttWord, CBCOL_BOTH )); + m_pCheckLB->GetModel()->Insert(CreateEntry(sCapitalStartWord, CBCOL_BOTH )); m_pCheckLB->GetModel()->Insert(CreateEntry(sCptlSttSent, CBCOL_BOTH )); m_pCheckLB->GetModel()->Insert(CreateEntry(sBoldUnder, CBCOL_BOTH )); m_pCheckLB->GetModel()->Insert(CreateEntry(sDetectURL, CBCOL_BOTH )); @@ -671,8 +671,8 @@ void OfaSwAutoFmtOptionsPage::Reset( const SfxItemSet* ) m_pCheckLB->CheckEntryPos( USE_REPLACE_TABLE, CBCOL_FIRST, pOpt->bAutoCorrect ); m_pCheckLB->CheckEntryPos( USE_REPLACE_TABLE, CBCOL_SECOND, 0 != (nFlags & Autocorrect)); - m_pCheckLB->CheckEntryPos( CORR_UPPER, CBCOL_FIRST, pOpt->bCptlSttWrd ); - m_pCheckLB->CheckEntryPos( CORR_UPPER, CBCOL_SECOND, 0 != (nFlags & CptlSttWrd) ); + m_pCheckLB->CheckEntryPos( CORR_UPPER, CBCOL_FIRST, pOpt->bCapitalStartWord ); + m_pCheckLB->CheckEntryPos( CORR_UPPER, CBCOL_SECOND, 0 != (nFlags & CapitalStartWord) ); m_pCheckLB->CheckEntryPos( BEGIN_UPPER, CBCOL_FIRST, pOpt->bCapitalStartSentence ); m_pCheckLB->CheckEntryPos( BEGIN_UPPER, CBCOL_SECOND, 0 != (nFlags & CapitalStartSentence) ); m_pCheckLB->CheckEntryPos( BOLD_UNDERLINE, CBCOL_FIRST, pOpt->bChgWeightUnderl ); diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx index fc746e15fde4..a60392ada986 100644 --- a/editeng/source/misc/acorrcfg.cxx +++ b/editeng/source/misc/acorrcfg.cxx @@ -154,7 +154,7 @@ void SvxBaseAutoCorrCfg::Load(bool bInit) break;//"UseReplacementTable", case 3: if(*static_cast<sal_Bool const *>(pValues[nProp].getValue())) - nFlags |= CptlSttWrd; + nFlags |= CapitalStartWord; break;//"TwoCapitalsAtStart", case 4: if(*static_cast<sal_Bool const *>(pValues[nProp].getValue())) @@ -263,7 +263,7 @@ void SvxBaseAutoCorrCfg::ImplCommit() pValues[nProp].setValue(&bVal, rType); break;//"UseReplacementTable", case 3: - bVal = 0 != (nFlags & CptlSttWrd); + bVal = 0 != (nFlags & CapitalStartWord); pValues[nProp].setValue(&bVal, rType); break;//"TwoCapitalsAtStart", case 4: @@ -412,7 +412,7 @@ void SvxSwAutoCorrCfg::Load(bool bInit) case 4: rParent.bSearchInAllCategories = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; //"Text/SearchInAllCategories" case 5: rSwFlags.bAutoCorrect = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/UseReplacementTable", case 6: rSwFlags.bCapitalStartSentence = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/TwoCapitalsAtStart", - case 7: rSwFlags.bCptlSttWrd = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/CapitalAtStartSentence", + case 7: rSwFlags.bCapitalStartWord = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/CapitalAtStartSentence", case 8: rSwFlags.bChgWeightUnderl = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/ChangeUnderlineWeight", case 9: rSwFlags.bSetINetAttr = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/SetInetAttribute", case 10: rSwFlags.bChgOrdinalNumber = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break; // "Format/Option/ChangeOrdinalNumber", @@ -566,7 +566,7 @@ void SvxSwAutoCorrCfg::ImplCommit() case 4: pValues[nProp].setValue(&rParent.bSearchInAllCategories, rType );break; //"Text/SearchInAllCategories" case 5: bVal = rSwFlags.bAutoCorrect; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/UseReplacementTable", case 6: bVal = rSwFlags.bCapitalStartSentence; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/TwoCapitalsAtStart", - case 7: bVal = rSwFlags.bCptlSttWrd; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/CapitalAtStartSentence", + case 7: bVal = rSwFlags.bCapitalStartWord; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/CapitalAtStartSentence", case 8: bVal = rSwFlags.bChgWeightUnderl; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/ChangeUnderlineWeight", case 9: bVal = rSwFlags.bSetINetAttr; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/SetInetAttribute", case 10: bVal = rSwFlags.bChgOrdinalNumber; pValues[nProp].setValue(&bVal, rType); break; // "Format/Option/ChangeOrdinalNumber", diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 425e68762a3f..77e0774e2c46 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -174,7 +174,7 @@ SvxAutoCorrDoc::~SvxAutoCorrDoc() } // Called by the functions: -// - FnCptlSttWrd +// - FnCapitalStartWord // - FnCapitalStartSentence // after the exchange of characters. Then the words, if necessary, can be inserted // into the exception list. @@ -251,7 +251,7 @@ long SvxAutoCorrect::GetDefaultFlags() { long nRet = Autocorrect | CapitalStartSentence - | CptlSttWrd + | CapitalStartWord | ChgOrdinalNumber | ChgToEnEmDash | AddNonBrkSpace @@ -342,7 +342,7 @@ void SvxAutoCorrect::SetAutoCorrFlag( long nFlag, bool bOn ) { if( (nOld & CapitalStartSentence) != (nFlags & CapitalStartSentence) ) nFlags &= ~CplSttLstLoad; - if( (nOld & CptlSttWrd) != (nFlags & CptlSttWrd) ) + if( (nOld & CapitalStartWord) != (nFlags & CapitalStartWord) ) nFlags &= ~WrdSttLstLoad; if( (nOld & Autocorrect) != (nFlags & Autocorrect) ) nFlags &= ~ChgWordLstLoad; @@ -351,7 +351,7 @@ void SvxAutoCorrect::SetAutoCorrFlag( long nFlag, bool bOn ) // Two capital letters at the beginning of word? -bool SvxAutoCorrect::FnCptlSttWrd( SvxAutoCorrDoc& rDoc, const OUString& rTxt, +bool SvxAutoCorrect::FnCapitalStartWord( SvxAutoCorrDoc& rDoc, const OUString& rTxt, sal_Int32 nSttPos, sal_Int32 nEndPos, LanguageType eLang ) { @@ -430,7 +430,7 @@ bool SvxAutoCorrect::FnCptlSttWrd( SvxAutoCorrDoc& rDoc, const OUString& rTxt, if( sChar[0] != cSave && rDoc.ReplaceRange( nSttPos, 1, sChar )) { if( SaveWordWrdSttLst & nFlags ) - rDoc.SaveCpltSttWord( CptlSttWrd, nSttPos, sWord, cSave ); + rDoc.SaveCpltSttWord( CapitalStartWord, nSttPos, sWord, cSave ); bRet = true; } } @@ -1420,9 +1420,9 @@ SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, // Two capital letters at beginning of word ?? if( !bUnsupported && - IsAutoCorrFlag( CptlSttWrd ) && - FnCptlSttWrd( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) - nRet |= CptlSttWrd; + IsAutoCorrFlag( CapitalStartWord ) && + FnCapitalStartWord( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) + nRet |= CapitalStartWord; if( IsAutoCorrFlag( ChgToEnEmDash ) && FnChgToEnEmDash( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx index 22910b737a4b..f146bf5afa87 100644 --- a/editeng/source/misc/swafopt.cxx +++ b/editeng/source/misc/swafopt.cxx @@ -27,7 +27,7 @@ SvxSwAutoFormatFlags::SvxSwAutoFormatFlags() { bAutoCorrect = bCapitalStartSentence = - bCptlSttWrd = + bCapitalStartWord = bChkFontAttr = bChgUserColl = bChgEnumNum = @@ -85,7 +85,7 @@ SvxSwAutoFormatFlags& SvxSwAutoFormatFlags::operator=( const SvxSwAutoFormatFlag { bAutoCorrect = rAFFlags.bAutoCorrect; bCapitalStartSentence = rAFFlags.bCapitalStartSentence; - bCptlSttWrd = rAFFlags.bCptlSttWrd; + bCapitalStartWord = rAFFlags.bCapitalStartWord; bChkFontAttr = rAFFlags.bChkFontAttr; bChgUserColl = rAFFlags.bChgUserColl; diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 3070d1aaf722..b2f2a042911b 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -56,7 +56,7 @@ class SvStringsISortDtor // Auto correct flags const long CapitalStartSentence = 0x00000001; // Capital letters at the beginning of a sentence -const long CptlSttWrd = 0x00000002; // not two Capital letters at the beginning of a word +const long CapitalStartWord = 0x00000002; // not two Capital letters at the beginning of a word const long AddNonBrkSpace = 0x00000004; // Add non breaking space before :;?!% const long ChgOrdinalNumber = 0x00000008; // Ordinal-Number 1st, 2nd,.. const long ChgToEnEmDash = 0x00000010; // - -> Endash/Emdash @@ -105,7 +105,7 @@ public: SvxAutoCorrect& rACorrect, OUString* pPara ) = 0; // Is called after the change of the signs by the functions - // - FnCptlSttWrd + // - FnCapitalStartWord // - FnCapitalStartSentence // As an option, the words can then be inserted into the exception lists. virtual void SaveCpltSttWord( sal_uLong nFlag, sal_Int32 nPos, @@ -387,7 +387,7 @@ public: bool bAbbreviation = false); // Methods for the auto-correction - bool FnCptlSttWrd( SvxAutoCorrDoc&, const OUString&, + bool FnCapitalStartWord( SvxAutoCorrDoc&, const OUString&, sal_Int32 nSttPos, sal_Int32 nEndPos, LanguageType eLang = LANGUAGE_SYSTEM ); bool FnChgOrdinalNumber( SvxAutoCorrDoc&, const OUString&, diff --git a/include/editeng/swafopt.hxx b/include/editeng/swafopt.hxx index 6929228d6ef4..ad295254c550 100644 --- a/include/editeng/swafopt.hxx +++ b/include/editeng/swafopt.hxx @@ -77,7 +77,7 @@ struct EDITENG_DLLPUBLIC SvxSwAutoFormatFlags bool bAutoCorrect : 1; bool bCapitalStartSentence : 1; - bool bCptlSttWrd : 1; + bool bCapitalStartWord : 1; bool bChkFontAttr : 1; bool bChgUserColl : 1; diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx index 28cb79689b47..722346adf413 100644 --- a/sw/source/core/edit/acorrect.cxx +++ b/sw/source/core/edit/acorrect.cxx @@ -402,7 +402,7 @@ bool SwAutoCorrDoc::ChgAutoCorrWord( sal_Int32& rSttPos, sal_Int32 nEndPos, } // Called by the functions: -// - FnCptlSttWrd +// - FnCapitalStartWord // - FnCapitalStartSentence // after the exchange of characters. Then the words, if necessary, can be inserted // into the exception list. @@ -441,7 +441,7 @@ void SwAutoCorrExceptWord::CheckChar( const SwPosition& rPos, sal_Unicode cChr ) SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get().GetAutoCorrect(); // then add to the list: - if (CptlSttWrd & m_nFlags) + if (CapitalStartWord & m_nFlags) pACorr->AddWrtSttException(m_sWord, m_eLanguage); else if (CapitalStartSentence & m_nFlags) pACorr->AddCplSttException(m_sWord, m_eLanguage); diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index f7013a9e7870..7c118ca5e09f 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx @@ -1785,7 +1785,7 @@ void SwAutoFormat::AutoCorrect( sal_Int32 nPos ) if( m_aFlags.bAFormatByInput || (!m_aFlags.bAutoCorrect && !bReplaceQuote && !bReplaceSglQuote && - !m_aFlags.bCapitalStartSentence && !m_aFlags.bCptlSttWrd && + !m_aFlags.bCapitalStartSentence && !m_aFlags.bCapitalStartWord && !m_aFlags.bChgOrdinalNumber && !m_aFlags.bChgToEnEmDash && !m_aFlags.bSetINetAttr && !m_aFlags.bChgWeightUnderl && !m_aFlags.bAddNonBrkSpace) ) @@ -1797,7 +1797,7 @@ void SwAutoFormat::AutoCorrect( sal_Int32 nPos ) bool bGetLanguage = m_aFlags.bChgOrdinalNumber || m_aFlags.bChgToEnEmDash || m_aFlags.bSetINetAttr || - m_aFlags.bCptlSttWrd || m_aFlags.bCapitalStartSentence || + m_aFlags.bCapitalStartWord || m_aFlags.bCapitalStartSentence || m_aFlags.bAddNonBrkSpace; m_aDelPam.DeleteMark(); @@ -2040,10 +2040,10 @@ void SwAutoFormat::AutoCorrect( sal_Int32 nPos ) else { // two capital letters at the beginning of a word? - if( m_aFlags.bCptlSttWrd ) + if( m_aFlags.bCapitalStartWord ) { SetRedlineText( STR_AUTOFMTREDL_CPTL_STT_WORD ); - pATst->FnCptlSttWrd( aACorrDoc, *pText, nSttPos, nPos, eLang ); + pATst->FnCapitalStartWord( aACorrDoc, *pText, nSttPos, nPos, eLang ); } // capital letter at the beginning of a sentence? if( m_aFlags.bCapitalStartSentence && bFirst ) diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx index 4a833abf00e1..f5129d96d973 100644 --- a/sw/source/core/inc/acorrect.hxx +++ b/sw/source/core/inc/acorrect.hxx @@ -79,7 +79,7 @@ public: OUString* pPara ) SAL_OVERRIDE; // Will be called after swapping characters by the functions - // - FnCptlSttWrd and + // - FnCapitalStartWord and // - FnCapitalStartSentence. // Afterwards the words can be added into exception list if needed. virtual void SaveCpltSttWord( sal_uLong nFlag, sal_Int32 nPos, diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 3db93d423e6c..a3c5f68e7414 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -2393,7 +2393,7 @@ KEYINPUT_CHECKTABLE_INSDEL: } else if( !aKeyEvent.GetRepeat() && pACorr && ( bIsAutoCorrectChar || bRunNext ) && pACfg->IsAutoFormatByInput() && - pACorr->IsAutoCorrFlag( CapitalStartSentence | CptlSttWrd | + pACorr->IsAutoCorrFlag( CapitalStartSentence | CapitalStartWord | ChgOrdinalNumber | AddNonBrkSpace | ChgToEnEmDash | SetINetAttr | Autocorrect ) && @@ -2427,7 +2427,7 @@ KEYINPUT_CHECKTABLE_INSDEL: case KS_CheckAutoCorrect: { if( pACorr && pACfg->IsAutoFormatByInput() && - pACorr->IsAutoCorrFlag( CapitalStartSentence | CptlSttWrd | + pACorr->IsAutoCorrFlag( CapitalStartSentence | CapitalStartWord | ChgOrdinalNumber | ChgToEnEmDash | SetINetAttr | Autocorrect ) && diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index 3261a8529256..d2f69e10ed57 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -169,7 +169,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) SvxAutoCorrect* pACorr = rACfg.GetAutoCorrect(); if( pACorr && rACfg.IsAutoFormatByInput() && pACorr->IsAutoCorrFlag( - CapitalStartSentence | CptlSttWrd | AddNonBrkSpace | ChgOrdinalNumber | ChgToEnEmDash | SetINetAttr | Autocorrect ) ) + CapitalStartSentence | CapitalStartWord | AddNonBrkSpace | ChgOrdinalNumber | ChgToEnEmDash | SetINetAttr | Autocorrect ) ) { rSh.AutoCorrect( *pACorr, cIns ); } diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 5d1c0d7afaa4..99da1d4aa075 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -137,7 +137,7 @@ using namespace com::sun::star; static SvxAutoCorrect* lcl_IsAutoCorr() { SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get().GetAutoCorrect(); - if( pACorr && !pACorr->IsAutoCorrFlag( CapitalStartSentence | CptlSttWrd | + if( pACorr && !pACorr->IsAutoCorrFlag( CapitalStartSentence | CapitalStartWord | AddNonBrkSpace | ChgOrdinalNumber | ChgToEnEmDash | SetINetAttr | Autocorrect )) pACorr = 0; |