diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 14:47:44 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 14:47:44 +0000 |
commit | 5227ec003bc898583563f1798a2c2f8252d36225 (patch) | |
tree | e922f4c9f641851befbdb7d643678fda6b513c36 /linguistic | |
parent | a5addf41c45f6e7d7ef1ef9b02f678a74a3f210c (diff) |
INTEGRATION: CWS dbgmacros1 (1.16.48); FILE MERGED
2003/04/09 12:02:00 kso 1.16.48.1: #108413# - debug macro unification.
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 919d9a5676b5..9f006723a747 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lngsvcmgr.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: hr $ $Date: 2001-10-11 17:13:17 $ + * last change: $Author: vg $ $Date: 2003-04-15 15:47:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -909,7 +909,7 @@ void LngSvcMgr::SetCfgServiceLists( SpellCheckerDispatcher &rSpellDsp ) Sequence< OUString > aSvcImplNames; if (pValues[i] >>= aSvcImplNames) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 INT32 nSvcs = aSvcImplNames.getLength(); const OUString *pSvcImplNames = aSvcImplNames.getConstArray(); #endif @@ -967,7 +967,7 @@ void LngSvcMgr::SetCfgServiceLists( ThesaurusDispatcher &rThesDsp ) Sequence< OUString > aSvcImplNames; if (pValues[i] >>= aSvcImplNames) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 INT32 nSvcs = aSvcImplNames.getLength(); const OUString *pSvcImplNames = aSvcImplNames.getConstArray(); #endif @@ -984,7 +984,7 @@ Reference< XSpellChecker > SAL_CALL throw(RuntimeException) { MutexGuard aGuard( GetLinguMutex() ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 getAvailableLocales( A2OU( SN_SPELLCHECKER )); #endif @@ -1004,7 +1004,7 @@ Reference< XHyphenator > SAL_CALL throw(RuntimeException) { MutexGuard aGuard( GetLinguMutex() ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 getAvailableLocales( A2OU( SN_HYPHENATOR )); #endif @@ -1024,7 +1024,7 @@ Reference< XThesaurus > SAL_CALL throw(RuntimeException) { MutexGuard aGuard( GetLinguMutex() ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 getAvailableLocales( A2OU( SN_THESAURUS )); #endif @@ -1206,7 +1206,7 @@ void SAL_CALL { MutexGuard aGuard( GetLinguMutex() ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 const OUString *pImplNames = rServiceImplNames.getConstArray(); #endif @@ -1311,7 +1311,7 @@ BOOL LngSvcMgr::SaveCfgSvcs( const String &rServiceName ) Sequence< OUString > aSvcImplNames; aSvcImplNames = pDsp->GetServiceList( pLocale[i] ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 INT32 nSvcs = aSvcImplNames.getLength(); const OUString *pSvcImplName = aSvcImplNames.getConstArray(); for (INT32 j = 0; j < nSvcs; ++j) @@ -1355,7 +1355,7 @@ static Sequence< OUString > GetLangSvcList( const Any &rVal ) if (rVal.hasValue()) { rVal >>= aRes; -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 INT32 nSvcs = aRes.getLength(); if (nSvcs) { @@ -1469,7 +1469,7 @@ Sequence< OUString > SAL_CALL } } -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 const OUString *pImplNames = aSvcImplNames.getConstArray(); #endif return aSvcImplNames; |