diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 22:16:41 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 22:16:41 +0000 |
commit | c57497a67145b9df2e6ba1284facd9379396f21d (patch) | |
tree | ff6df3d46c0bde79fd811187d547b127b2f8ccb4 /configmgr | |
parent | c6d89b5b0ceea33bba66e6be5aee2549128d8e32 (diff) |
INTEGRATION: CWS warnings01 (1.62.4); FILE MERGED
2006/02/14 10:17:26 cd 1.62.4.2: #i55991# Fix warnings for ms c++ compiler
2005/11/01 12:47:08 cd 1.62.4.1: #i53898# Warning free code for sun solaris compiler
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/api2/providerimpl.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configmgr/source/api2/providerimpl.cxx b/configmgr/source/api2/providerimpl.cxx index 057c1d2d46..ee3138ed2c 100644 --- a/configmgr/source/api2/providerimpl.cxx +++ b/configmgr/source/api2/providerimpl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: providerimpl.cxx,v $ * - * $Revision: 1.62 $ + * $Revision: 1.63 $ * - * last change: $Author: rt $ $Date: 2005-09-08 03:19:33 $ + * last change: $Author: hr $ $Date: 2006-06-19 23:16:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -262,6 +262,7 @@ namespace configmgr catch (uno::Exception& e) { // could not read profile + (void)e; CFG_TRACE_ERROR_NI("Provider bootstrapping: Caught an exception trying to get 'Setup' data: %s", OUSTRING2ASCII(e.Message)); } @@ -381,6 +382,7 @@ namespace configmgr } catch (uno::Exception& e) { + (void)e; CFG_TRACE_ERROR("Disposing the TreeManager or closing the session caused an exception: %s", OUSTRING2ASCII(e.Message)); clearTreeManager(); } @@ -754,7 +756,6 @@ namespace configmgr return false; } - break; case ARG_NOCACHE_OBSOLETE: { @@ -846,7 +847,7 @@ namespace configmgr bool extractLegacyArguments( const uno::Sequence<uno::Any>& _rArgs, OUString& /* [out] */ _rNodeAccessor, sal_Int32& /* [out] */ _nLevels ) - CFG_NOTHROW() + CFG_THROW1 (lang::IllegalArgumentException) { OSL_ASSERT( _rArgs.getLength() != 0 ); |