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.
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: opump.cxx,v $
|
* $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 Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* the terms of GNU Lesser General Public License Version 2.1.
|
||||||
@@ -242,7 +242,7 @@ void Pump::close()
|
|||||||
{
|
{
|
||||||
rInput->closeInput();
|
rInput->closeInput();
|
||||||
}
|
}
|
||||||
catch( Exception &e )
|
catch( Exception & )
|
||||||
{
|
{
|
||||||
// go down calm
|
// go down calm
|
||||||
}
|
}
|
||||||
@@ -253,7 +253,7 @@ void Pump::close()
|
|||||||
{
|
{
|
||||||
rOutput->closeOutput();
|
rOutput->closeOutput();
|
||||||
}
|
}
|
||||||
catch( Exception &e )
|
catch( Exception & )
|
||||||
{
|
{
|
||||||
// go down calm
|
// go down calm
|
||||||
}
|
}
|
||||||
@@ -288,8 +288,7 @@ void Pump::run()
|
|||||||
throw exception;
|
throw exception;
|
||||||
}
|
}
|
||||||
Sequence< sal_Int8 > aData;
|
Sequence< sal_Int8 > aData;
|
||||||
long nBytes;
|
while( rInput->readSomeBytes( aData, 65536 ) )
|
||||||
while( nBytes = rInput->readSomeBytes( aData, 65536 ) )
|
|
||||||
{
|
{
|
||||||
if( ! rOutput.is() )
|
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 );
|
return Reference< XInterface >( *new Pump );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user