summaryrefslogtreecommitdiff
path: root/svx/source/editeng/unolingu.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:30:17 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:30:17 +0000
commit4e45c043c147347d2502091c59567d82827ba5e3 (patch)
tree4ee03463dff880c7f89f5f8393a4f4d9daef6bc5 /svx/source/editeng/unolingu.cxx
parent1b0fb0cea0dba1102fccb621b6c3775f0c44e4af (diff)
INTEGRATION: CWS dbgmacros1 (1.18.2.2.70); FILE MERGED
2003/04/10 08:45:53 kso 1.18.2.2.70.1: #108413# - debug macro unification.
Diffstat (limited to 'svx/source/editeng/unolingu.cxx')
-rw-r--r--svx/source/editeng/unolingu.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/editeng/unolingu.cxx b/svx/source/editeng/unolingu.cxx
index b6fa063fe54d..456409a0a1d9 100644
--- a/svx/source/editeng/unolingu.cxx
+++ b/svx/source/editeng/unolingu.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unolingu.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 15:02:04 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:30:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -202,7 +202,7 @@ Sequence< OUString > lcl_GetLastFoundSvcs(
rNodeName += OUString::valueOf( (sal_Unicode)'/' );
rNodeName += aCfgLocaleStr;
Sequence< Any > aValues( rCfg.GetProperties( aNames ) );
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
const Any *pValue = aValues.getConstArray();
#endif
if (aValues.getLength())
@@ -341,7 +341,7 @@ void SvxLinguConfigUpdate::UpdateAll()
Sequence< OUString > aSvcImplNames(
xLngSvcMgr->getConfiguredServices( aService, pAvailLocale[i] ) );
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
INT32 nSvcs = aSvcImplNames.getLength();
const OUString *pSvcImplName = aSvcImplNames.getConstArray();
for (INT32 j = 0; j < nSvcs; ++j)
@@ -1104,7 +1104,7 @@ Reference< XDictionary1 > LinguMgr::GetStandard()
xTmpDicList->addDictionary( xTmp );
xDic = Reference< XDictionary1 > ( xTmp, UNO_QUERY );
}
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
Reference< XStorable > xStor( xDic, UNO_QUERY );
DBG_ASSERT( xDic.is() && xDic->getDictionaryType() == DictionaryType_POSITIVE,
"wrong dictionary type");