[Libreoffice-commits] .: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Nov 24 08:20:45 PST 2012
cui/source/options/optlingu.cxx | 10 ----------
cui/source/options/optlingu.hrc | 1 -
cui/source/options/optlingu.src | 4 ----
3 files changed, 15 deletions(-)
New commits:
commit 0ab3d629c7f921088a03741377bbe031bedc9ba9
Author: László Németh <nemeth at numbertext.org>
Date: Sat Nov 24 17:16:55 2012 +0100
fdo#57483 remove check capitalization (ugly 1980 thing)
Change-Id: I9a18e463c1eac01bc855e0b4826599e25692d441
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index d63a137..24a9443 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -347,7 +347,6 @@ enum EID_OPTIONS
EID_GRAMMAR_AUTO,
EID_CAPITAL_WORDS,
EID_WORDS_WITH_DIGITS,
- EID_CAPITALIZATION,
EID_SPELL_SPECIAL,
EID_NUM_MIN_WORDLEN,
EID_NUM_PRE_BREAK,
@@ -364,7 +363,6 @@ static const char * aEidToPropName[] =
UPN_IS_GRAMMAR_AUTO, // EID_GRAMMAR_AUTO
UPN_IS_SPELL_UPPER_CASE, // EID_CAPITAL_WORDS
UPN_IS_SPELL_WITH_DIGITS, // EID_WORDS_WITH_DIGITS
- UPN_IS_SPELL_CAPITALIZATION, // EID_CAPITALIZATION
UPN_IS_SPELL_SPECIAL, // EID_SPELL_SPECIAL
UPN_HYPH_MIN_WORD_LENGTH, // EID_NUM_MIN_WORDLEN,
UPN_HYPH_MIN_LEADING, // EID_NUM_PRE_BREAK
@@ -1068,7 +1066,6 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent,
aMoreDictsLink ( this, CUI_RES( FT_LINGU_OPTIONS_MOREDICTS ) ),
sCapitalWords ( CUI_RES( STR_CAPITAL_WORDS ) ),
sWordsWithDigits ( CUI_RES( STR_WORDS_WITH_DIGITS ) ),
- sCapitalization ( CUI_RES( STR_CAPITALIZATION ) ),
sSpellSpecial ( CUI_RES( STR_SPELL_SPECIAL ) ),
sSpellAuto ( CUI_RES( STR_SPELL_AUTO ) ),
sGrammarAuto ( CUI_RES( STR_GRAMMAR_AUTO ) ),
@@ -1501,13 +1498,6 @@ void SvxLinguTabPage::Reset( const SfxItemSet& rSet )
pModel->Insert( pEntry );
lcl_SetCheckButton( pEntry, bVal );
- pEntry = CreateEntry( sCapitalization, CBCOL_FIRST );
- aLngCfg.GetProperty( UPN_IS_SPELL_CAPITALIZATION ) >>= bVal;
- nUserData = OptionsUserData( EID_CAPITALIZATION, sal_False, 0, sal_True, bVal).GetUserData();
- pEntry->SetUserData( (void *)nUserData );
- pModel->Insert( pEntry );
- lcl_SetCheckButton( pEntry, bVal );
-
pEntry = CreateEntry( sSpellSpecial, CBCOL_FIRST );
aLngCfg.GetProperty( UPN_IS_SPELL_SPECIAL ) >>= bVal;
nUserData = OptionsUserData( EID_SPELL_SPECIAL, sal_False, 0, sal_True, bVal).GetUserData();
diff --git a/cui/source/options/optlingu.hrc b/cui/source/options/optlingu.hrc
index ec9032f..6326629 100644
--- a/cui/source/options/optlingu.hrc
+++ b/cui/source/options/optlingu.hrc
@@ -29,7 +29,6 @@
#define STR_CAPITAL_WORDS 201
#define STR_WORDS_WITH_DIGITS 202
-#define STR_CAPITALIZATION 203
#define STR_SPELL_SPECIAL 204
#define STR_SPELL_AUTO 206
#define STR_NUM_PRE_BREAK 209
diff --git a/cui/source/options/optlingu.src b/cui/source/options/optlingu.src
index 700b85a..d8f4252 100644
--- a/cui/source/options/optlingu.src
+++ b/cui/source/options/optlingu.src
@@ -297,10 +297,6 @@ TabPage RID_SFXPAGE_LINGU
{
Text [ en-US ] = "Check words with numbers ";
};
- String STR_CAPITALIZATION
- {
- Text [ en-US ] = "Check capitalization";
- };
String STR_SPELL_SPECIAL
{
Text [ en-US ] = "Check special regions";
More information about the Libreoffice-commits
mailing list