summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-01-15 11:55:56 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-01-15 11:55:56 +0100
commitfd8ab86de7a409d8157c8faf1d231d226e576f49 (patch)
treed4fa6f595e19474f79e4b8f93624711b3f74de42 /svx
parentffa9c9f16f097ddb44f71c87a338fa9bb74dbd4b (diff)
cbosdo01: Removed remaining code for the Fraction autocorrection
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/svxacorr.hxx2
-rw-r--r--svx/source/editeng/acorrcfg.cxx5
-rw-r--r--svx/source/editeng/svxacorr.cxx6
3 files changed, 6 insertions, 7 deletions
diff --git a/svx/inc/svx/svxacorr.hxx b/svx/inc/svx/svxacorr.hxx
index f4789900873e..6615b181f23d 100644
--- a/svx/inc/svx/svxacorr.hxx
+++ b/svx/inc/svx/svxacorr.hxx
@@ -63,7 +63,7 @@ const long Autocorrect = 0x00000080; // Autokorrektur aufrufen
const long ChgQuotes = 0x00000100; // doppelte Quotes ersetzen
const long SaveWordCplSttLst= 0x00000200; // GrB. am SatzAnf. auto. aufnehmen
const long SaveWordWrdSttLst= 0x00000400; // 2 GrB. am WortAnf. auto. aufnehmen
-const long IngnoreDoubleSpace= 0x00000800; // 2 Spaces ignorieren
+const long IgnoreDoubleSpace= 0x00000800; // 2 Spaces ignorieren
const long ChgSglQuotes = 0x00001000; // einfache Quotes ersetzen
const long ChgWordLstLoad = 0x20000000; // Ersetzungsliste geladen
diff --git a/svx/source/editeng/acorrcfg.cxx b/svx/source/editeng/acorrcfg.cxx
index d19c25205917..13d517adfd92 100644
--- a/svx/source/editeng/acorrcfg.cxx
+++ b/svx/source/editeng/acorrcfg.cxx
@@ -120,7 +120,6 @@ Sequence<OUString> SvxBaseAutoCorrCfg::GetPropertyNames()
"SetInetAttribute", // 6
"ChangeOrdinalNumber", // 7
"AddNonBreakingSpace", // 8
- "ChangeFraction", // 8
"ChangeDash", // 9
"RemoveDoubleSpaces", // 10
"ReplaceSingleQuote", // 11
@@ -200,7 +199,7 @@ void SvxBaseAutoCorrCfg::Load(sal_Bool bInit)
break;//"ChangeDash",
case 10:
if(*(sal_Bool*)pValues[nProp].getValue())
- nFlags |= IngnoreDoubleSpace;
+ nFlags |= IgnoreDoubleSpace;
break;//"RemoveDoubleSpaces",
case 11:
if(*(sal_Bool*)pValues[nProp].getValue())
@@ -311,7 +310,7 @@ void SvxBaseAutoCorrCfg::Commit()
pValues[nProp].setValue(&bVal, rType);
break;//"ChangeDash",
case 10:
- bVal = 0 != (nFlags & IngnoreDoubleSpace);
+ bVal = 0 != (nFlags & IgnoreDoubleSpace);
pValues[nProp].setValue(&bVal, rType);
break;//"RemoveDoubleSpaces",
case 11:
diff --git a/svx/source/editeng/svxacorr.cxx b/svx/source/editeng/svxacorr.cxx
index 63d2143be984..7eff0fe20313 100644
--- a/svx/source/editeng/svxacorr.cxx
+++ b/svx/source/editeng/svxacorr.cxx
@@ -1190,10 +1190,10 @@ ULONG SvxAutoCorrect::AutoCorrect( SvxAutoCorrDoc& rDoc, const String& rTxt,
{
//JP 10.02.97: doppelte Spaces verhindern
if( nInsPos && ' ' == cChar &&
- IsAutoCorrFlag( IngnoreDoubleSpace ) &&
+ IsAutoCorrFlag( IgnoreDoubleSpace ) &&
' ' == rTxt.GetChar( nInsPos - 1 ) )
{
- nRet = IngnoreDoubleSpace;
+ nRet = IgnoreDoubleSpace;
break;
}
@@ -1365,7 +1365,7 @@ ULONG SvxAutoCorrect::AutoCorrect( SvxAutoCorrDoc& rDoc, const String& rTxt,
if( nRet & ChgQuotes) nHelpId = 16;
else if( nRet & ChgSglQuotes) nHelpId = 17;
else if( nRet & SetINetAttr) nHelpId = 18;
- else if( nRet & IngnoreDoubleSpace) nHelpId = 19;
+ else if( nRet & IgnoreDoubleSpace) nHelpId = 19;
else if( nRet & ChgWeightUnderl) nHelpId = 20;
else if( nRet & AddNonBrkSpace) nHelpId = 21;
else if( nRet & ChgOrdinalNumber) nHelpId = 22;