summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:18:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:18:14 +0000
commit52fcec829ac3af8059250a6a755f8eb9853a8c1a (patch)
tree1f8f8f5d4f2833bd69bd1654a0d802f9ff2f6d7d /io
parent53e1181de1d9d870f28eb6bcea4299c3fee4d2bd (diff)
INTEGRATION: CWS warnings01 (1.9.110); FILE MERGED
2005/11/29 15:10:44 sb 1.9.110.3: #i53898# Made code warning-free. 2005/09/22 20:29:54 sb 1.9.110.2: RESYNC: (1.9-1.10); FILE MERGED 2005/09/07 14:14:55 sb 1.9.110.1: #i53898# Made code warning-free.
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/opump.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx
index a2f4d5ca5..aa16ef604 100644
--- a/io/source/stm/opump.cxx
+++ b/io/source/stm/opump.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: opump.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 18:31:46 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:18:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -242,7 +242,7 @@ void Pump::close()
{
rInput->closeInput();
}
- catch( Exception &e )
+ catch( Exception & )
{
// go down calm
}
@@ -253,7 +253,7 @@ void Pump::close()
{
rOutput->closeOutput();
}
- catch( Exception &e )
+ catch( Exception & )
{
// go down calm
}
@@ -288,8 +288,7 @@ void Pump::run()
throw exception;
}
Sequence< sal_Int8 > aData;
- long nBytes;
- while( nBytes = rInput->readSomeBytes( aData, 65536 ) )
+ while( rInput->readSomeBytes( aData, 65536 ) )
{
if( ! rOutput.is() )
{
@@ -489,7 +488,7 @@ Sequence< OUString > Pump::getSupportedServiceNames(void) throw( )
}
-Reference< XInterface > SAL_CALL OPumpImpl_CreateInstance( const Reference< XComponentContext > & rSMgr ) throw (Exception)
+Reference< XInterface > SAL_CALL OPumpImpl_CreateInstance( const Reference< XComponentContext > & ) throw (Exception)
{
return Reference< XInterface >( *new Pump );
}