summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-05-26 09:52:08 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 11:00:34 -0500
commit28b611787c798402eba5d26ac8756773594f0b86 (patch)
tree67b3dba219e24091718c74e20ccf5cae6cd31ada /include
parent7aca6662d30f7e74888e840a61e9860e2dc17782 (diff)
Global CptlSttWrd and CptlSttWord -> CapitalStartWord
Change-Id: I550456ae319a6a865f2ee951a1ddf70384ce33ef (cherry picked from commit 9fadc1dc4753862a41569651cf6357234e5e3333)
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx6
-rw-r--r--include/editeng/swafopt.hxx2
2 files changed, 4 insertions, 4 deletions
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;