diff options
Diffstat (limited to 'linguistic/source/lngopt.cxx')
-rw-r--r-- | linguistic/source/lngopt.cxx | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index 9240416d99bf..d2ed0b8e815d 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lngopt.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: tl $ $Date: 2000-11-29 16:09:32 $ + * last change: $Author: tl $ $Date: 2001-01-24 10:15:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -283,14 +283,6 @@ BOOL LinguOptionsData::LoadConfig() { BOOL bRes = FALSE; -#ifdef DEBUG - //! workaround for bug in configuration of 614 a - { - LinguOptConfig aCfg( rtl::OUString::createFromAscii( "Office.Linguistic" ) ); - aCfg.GetNodeNames(OUString::createFromAscii( "")); - } -#endif - for( INT16 nCfgItem = 0; nCfgItem < 4; ++nCfgItem ) { LinguOptConfig aCfg( String::CreateFromAscii( aRootNames[ nCfgItem ])); @@ -361,13 +353,6 @@ BOOL LinguOptionsData::SaveConfig() const Type &rBOOL = ::getBooleanCppuType(); const Type &rINT16 = ::getCppuType( (INT16 *) NULL ); -#ifdef DEBUG - //! workaround for bug in configuration of 614 a - { - LinguOptConfig aCfg( String::CreateFromAscii( "Office.Linguistic" ) ); - } -#endif - for( INT16 nCfgItem = 0; nCfgItem < 4; ++nCfgItem ) { LinguOptConfig aCfg( String::CreateFromAscii( aRootNames[ nCfgItem ])); @@ -725,9 +710,6 @@ void LinguOptions::SetCfgActiveDictionaries( if (rDic.is() && rDic->isActive()) { pActiveDic[ nLen++ ] = rDic->getName(); -#ifdef DEBUG - OUString aDicName( rDic->getName() ); -#endif } } pData->aActiveDics.realloc( nLen ); |