summaryrefslogtreecommitdiff
path: root/connectivity/source/cpool
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:07:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:07:14 +0000
commit1d54da7dc7093aa142245a2914a2b04d32b6157e (patch)
tree07a3c63857fc02da19c1541fa251ec6b1d0c5be7 /connectivity/source/cpool
parent10f77285fd213094f3e8871e40d61ceb369c5252 (diff)
INTEGRATION: CWS warnings01 (1.9.30); FILE MERGED
2005/11/16 12:58:48 fs 1.9.30.2: #i57457# warning free code 2005/11/07 14:43:01 fs 1.9.30.1: #i57457# warning-free code
Diffstat (limited to 'connectivity/source/cpool')
-rw-r--r--connectivity/source/cpool/ZPoolCollection.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx
index bebfcbf7c857..a1585501081b 100644
--- a/connectivity/source/cpool/ZPoolCollection.cxx
+++ b/connectivity/source/cpool/ZPoolCollection.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ZPoolCollection.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 05:17:40 $
+ * last change: $Author: hr $ $Date: 2006-06-20 01:07:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -54,6 +54,9 @@
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
#include <com/sun/star/beans/XPropertySet.hpp>
#endif
+#ifndef CONNECTIVITY_DIAGNOSE_EX_H
+#include "diagnose_ex.h"
+#endif
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -485,7 +488,7 @@ Any OPoolCollection::getNodeValue(const ::rtl::OUString& _rPath,const Reference<
}
catch(NoSuchElementException& e)
{
- e; // make compiler happy
+ OSL_UNUSED( e ); // make compiler happy
OSL_ENSURE(sal_False,
::rtl::OString("::getNodeValue: caught a NoSuchElementException while trying to open ")
+= ::rtl::OString(e.Message.getStr(), e.Message.getLength(), RTL_TEXTENCODING_ASCII_US)
@@ -494,11 +497,11 @@ Any OPoolCollection::getNodeValue(const ::rtl::OUString& _rPath,const Reference<
return aReturn;
}
// -----------------------------------------------------------------------------
-void SAL_CALL OPoolCollection::queryTermination( const EventObject& Event ) throw (::com::sun::star::frame::TerminationVetoException, RuntimeException)
+void SAL_CALL OPoolCollection::queryTermination( const EventObject& /*Event*/ ) throw (::com::sun::star::frame::TerminationVetoException, RuntimeException)
{
}
// -----------------------------------------------------------------------------
-void SAL_CALL OPoolCollection::notifyTermination( const EventObject& Event ) throw (RuntimeException)
+void SAL_CALL OPoolCollection::notifyTermination( const EventObject& /*Event*/ ) throw (RuntimeException)
{
clearDesktop();
}