summaryrefslogtreecommitdiff
path: root/io/source/stm
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
commitd2ee64e92117f48294f2e96b2742b1beaf6bb3fb (patch)
treeb8f86c86aeb349b70465f9a279b5392830a718f1 /io/source/stm
parenta34a9747d6db5bd7e27ccb1a3dc35bec34576fa2 (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/source/stm')
-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 d3fd71700636..98e78f9bff91 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 );
}