summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/scmod.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-27 11:22:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-27 11:25:33 +0000
commit96d7fff09c8c73fa6c22345110a4f89732c20f23 (patch)
treec6353540c064c402a853b83f95422fc2b361f803 /sc/source/ui/app/scmod.cxx
parent5cd1a8ec06fe6760e7d05a6b45b846e738bc3e56 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r--sc/source/ui/app/scmod.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 029cd9e900a7..cb443df4e62a 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -1047,7 +1047,6 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
BOOL bUpdateMarks = FALSE;
BOOL bUpdateRefDev = FALSE;
BOOL bCalcAll = FALSE;
- BOOL bSaveSpellCheck = FALSE;
BOOL bSaveAppOptions = FALSE;
BOOL bSaveInputOptions = FALSE;
@@ -1227,10 +1226,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
}
if ( bOldAutoSpell != bDoAutoSpell )
- {
SetAutoSpellProperty( bDoAutoSpell );
- bSaveSpellCheck = TRUE;
- }
if ( pDocSh )
pDocSh->PostPaintGridAll(); // wegen Markierungen
ScInputHandler* pInputHandler = GetInputHdl();
@@ -1314,12 +1310,6 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet )
//----------------------------------------------------------
-// if ( bSaveSpellCheck )
-// {
- // currently LinguProperties are saved only at program exit.
- // if a save method becomes available, it should be called here.
-// }
-
if ( bSaveAppOptions )
pAppCfg->OptionsChanged();