summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-01-24 09:16:08 +0000
committerThomas Lange <tl@openoffice.org>2001-01-24 09:16:08 +0000
commit94ca719b9ce00720feb2715976863a504d5647e9 (patch)
treeb2d942ac35d90d7b13d9cabadd2ce0a3814d1816 /linguistic/source
parent643be9815ec96fd20a9edf3f3fd639066ea38113 (diff)
some src614 specific workarounds removed
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/lngopt.cxx22
-rw-r--r--linguistic/source/lngopt.hxx10
2 files changed, 4 insertions, 28 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 );
diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx
index c05a6ccbf690..92a7b4210391 100644
--- a/linguistic/source/lngopt.hxx
+++ b/linguistic/source/lngopt.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: lngopt.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tl $ $Date: 2000-11-29 16:14:21 $
+ * last change: $Author: tl $ $Date: 2001-01-24 10:16:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -155,12 +155,6 @@ public:
{
return ConfigItem::SetSetProperties( rNode, rValues );
}
-
-#ifdef DEBUG
- ::com::sun::star::uno::Sequence< rtl::OUString >GetNodeNames(const rtl::OUString& rNode)
- {return ConfigItem::GetNodeNames(rNode);}
-#endif
-
};