diff options
author | Thomas Lange <tl@openoffice.org> | 2001-02-27 13:38:14 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-02-27 13:38:14 +0000 |
commit | 8656416679a5c40a5a0a8676c99a29bebc10582e (patch) | |
tree | af81a69d06962b96305002cb65b0880d33e8d3fb /svx/source/options | |
parent | e6de12de8935a690161476fd6a4f0b0cd61835cb (diff) |
#70880#, #72626#: force new spelling workaround removed
Diffstat (limited to 'svx/source/options')
-rw-r--r-- | svx/source/options/optlingu.cxx | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/svx/source/options/optlingu.cxx b/svx/source/options/optlingu.cxx index 210d7fe488f2..db6e8c8da99c 100644 --- a/svx/source/options/optlingu.cxx +++ b/svx/source/options/optlingu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: optlingu.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: os $ $Date: 2001-02-09 10:54:03 $ + * last change: $Author: tl $ $Date: 2001-02-27 14:38:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1113,45 +1113,11 @@ sal_Bool SvxLinguTabPage::FillItemSet( SfxItemSet& rCoreSet ) aLngCfg.SetProperty( aPropName, aAny ); } - // force new spelling and flushing of spell caches - //! current implementation is a workaround until the correct - //! interface is implemented. - //TL:TODO: use XPropertyChangeListener mechanism to do this - Reference< XDictionary1 > xDic( SvxGetIgnoreAllList() ); - if (xDic.is()) - { - OUString aTmp( C2U("v_7xj4") ); - sal_Bool bOk = xDic->add( aTmp, sal_False, OUString() ); - if (bOk) - xDic->remove( aTmp ); - } - #ifdef NOT_YET_IMPLEMENTED //!!! functionality needs to be implemented via XPropertySet listeners! sal_Bool bSpellAllAgain = sal_False; sal_Bool bSpellWrongAgain = sal_False; - if( aNumsBtn.IsChecked() != aNumsBtn.GetSavedValue() ) - { - if( aNumsBtn.IsChecked() ) - bSpellAllAgain = sal_True; - else - bSpellWrongAgain = sal_True; - } - if( aCapsBtn.IsChecked() != aCapsBtn.GetSavedValue() ) - { - if( aCapsBtn.IsChecked() ) - bSpellAllAgain = sal_True; - else - bSpellWrongAgain = sal_True; - } - if( aUpLowBtn.IsChecked() != aUpLowBtn.GetSavedValue() ) - { - if( aUpLowBtn.IsChecked() ) - bSpellAllAgain = sal_True; - else - bSpellWrongAgain = sal_True; - } if( aAllLangBtn.IsChecked() != aAllLangBtn.GetSavedValue() ) { if( aAllLangBtn.IsChecked() ) |