summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:14:25 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:14:25 +0000
commit597b95b3311c1fceebd371c937adbdab7a9c32ba (patch)
treeac02b1fa71c5b57581d2f24d47de2a8dcdeb38cb /linguistic
parent9f785aecf5cb24facb29efa16bcc401df217232e (diff)
INTEGRATION: CWS hr50 (1.27.40); FILE MERGED
2008/04/10 17:13:27 hr 1.27.40.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngsvcmgr.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index c5b9cac1ce..185389338f 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: lngsvcmgr.cxx,v $
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
* This file is part of OpenOffice.org.
*
@@ -144,8 +144,9 @@ static Sequence< Locale > GetAvailLocales(
aLanguages.Insert( nLang );
}
}
- else
+ else {
DBG_ERROR( "interface not supported by service" );
+ }
}
// build return sequence
@@ -775,8 +776,9 @@ void LngSvcMgr::Notify( const Sequence< OUString > &rPropertyNames )
pThesDsp->SetServiceList( CreateLocale(nLang), aSvcImplNames );
}
}
- else
+ else {
DBG_ERROR( "nofified for unexpected property" );
+ }
}
}
@@ -1511,8 +1513,9 @@ BOOL LngSvcMgr::SaveCfgSvcs( const String &rServiceName )
pNodeName = "ServiceManager/ThesaurusList";
else if (pDsp == pHyphDsp)
pNodeName = "ServiceManager/HyphenatorList";
- else
+ else {
DBG_ERROR( "node name missing" );
+ }
OUString aNodeName( A2OU(pNodeName) );
for (INT32 i = 0; i < nLen; ++i)
@@ -1603,8 +1606,9 @@ static Sequence< OUString > GetLangSvc( const Any &rVal )
aRes.realloc(1);
aRes.getArray()[0] = aImplName;
}
- else
+ else {
DBG_ERROR( "GetLangSvc: unexpected type encountered" );
+ }
}
return aRes;