diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:14:25 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:14:25 +0000 |
commit | 7f62b0711f741ead1b1745e2217ddb78109cd124 (patch) | |
tree | d7514aed6d54f014e797dd71a5a3d3ee3105f7ca /linguistic/source | |
parent | 66c019ebf0eb039e35cbb068f96a03d538d799ad (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/source')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 382e586ff50b..3c3b273965dc 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; |