summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-10 13:20:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-11 09:59:10 +0100
commite18f1d6216b13c38525d37448da882a63a3d0055 (patch)
tree60dc2c1e55f987fbee8812eb72c86df9d1cd7f1e /editeng
parent88880514d2f2b1c1fdc199591d9e2b2ce259964f (diff)
remove distracting and unhelpful debugging code
Change-Id: I870df7d4af666c1cb087cec6d4daebcba87ff8ab
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/unolingu.cxx33
1 files changed, 1 insertions, 32 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 431053b2771f..486052e9a634 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -260,12 +260,7 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
xLngSvcMgr->getConfiguredServices( aService, aLocale ));
Sequence< OUString > aAvailSvcs(
xLngSvcMgr->getAvailableServices( aService, aLocale ));
-#if OSL_DEBUG_LEVEL > 1
- const OUString * pCfgSvcs = aCfgSvcs.getConstArray();
- const OUString * pAvailSvcs = aAvailSvcs.getConstArray();
- (void) pCfgSvcs;
- (void) pAvailSvcs;
-#endif
+
aCfgSvcs = lcl_RemoveMissingEntries( aCfgSvcs, aAvailSvcs );
aCurSvcs[k][ pNodeName[i] ] = aCfgSvcs;
@@ -286,14 +281,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
lcl_GetLastFoundSvcs( aCfg, aLastFoundList , pAvailLocale[i] ));
Sequence< OUString > aNewSvcs =
lcl_GetNewEntries( aLastSvcs, aAvailSvcs );
-#if OSL_DEBUG_LEVEL > 1
- const OUString * pAvailSvcs = aAvailSvcs.getConstArray();
- const OUString * pLastSvcs = aLastSvcs.getConstArray();
- const OUString * pNewSvcs = aNewSvcs.getConstArray();
- (void) pAvailSvcs;
- (void) pLastSvcs;
- (void) pNewSvcs;
-#endif
OUString aCfgLocaleStr( MsLangId::convertLanguageToIsoString(
SvxLocaleToLanguage( pAvailLocale[i] ) ) );
@@ -313,15 +300,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
Sequence< OUString > aSvcImplNames(
xLngSvcMgr->getAvailableServices( aService, pAvailLocale[i] ) );
-#if OSL_DEBUG_LEVEL > 1
- sal_Int32 nSvcs = aSvcImplNames.getLength();
- const OUString *pSvcImplName = aSvcImplNames.getConstArray();
- for (sal_Int32 j = 0; j < nSvcs; ++j)
- {
- OUString aImplName( pSvcImplName[j] );
- }
-#endif
-
OUString aCfgLocaleStr( MsLangId::convertLanguageToIsoString(
SvxLocaleToLanguage( pAvailLocale[i] ) ) );
aLastFoundSvcs[k][ aCfgLocaleStr ] = aSvcImplNames;
@@ -349,15 +327,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
aCfgEntryName += OUString::valueOf( (sal_Unicode) '/' );
aCfgEntryName += (*aIt).first;
-#if OSL_DEBUG_LEVEL > 1
- Sequence< OUString > aSvcImplNames( (*aIt).second );
- sal_Int32 nSvcs = aSvcImplNames.getLength();
- const OUString *pSvcImplName = aSvcImplNames.getConstArray();
- for (sal_Int32 j = 0; j < nSvcs; ++j)
- {
- OUString aImplName( pSvcImplName[j] );
- }
-#endif
pNewValue->Name = aCfgEntryName;
pNewValue->Value <<= (*aIt).second;
++pNewValue;