Kaydet (Commit) 62d5cced authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS dr33 (1.7.36); FILE MERGED

2005/02/14 16:38:56 dr 1.7.36.1: #i42367# remove non-ASCII characters from C++ sources
üst 77e8848a
......@@ -2,9 +2,9 @@
*
* $RCSfile: InputStream.cxx,v $
*
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* last change: $Author: hr $ $Date: 2004-11-09 12:12:44 $
* last change: $Author: vg $ $Date: 2005-02-16 17:28:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -111,7 +111,7 @@ sal_Int32 SAL_CALL java_io_InputStream::readSomeBytes( ::com::sun::star::uno::Se
void SAL_CALL java_io_InputStream::skipBytes( sal_Int32 nBytesToSkip ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
{
jint out(0);
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment gelscht worden!");
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
if( t.pEnv )
{
static char * cSignature = "(I)I";
......@@ -131,7 +131,7 @@ void SAL_CALL java_io_InputStream::skipBytes( sal_Int32 nBytesToSkip ) throw(::c
sal_Int32 SAL_CALL java_io_InputStream::available( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
{
jboolean out(sal_False);
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment gelscht worden!");
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
if( t.pEnv )
{
static char * cSignature = "()Z";
......@@ -150,7 +150,7 @@ sal_Int32 SAL_CALL java_io_InputStream::available( ) throw(::com::sun::star::io
}
void SAL_CALL java_io_InputStream::closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
{
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment gelscht worden!");
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
if( t.pEnv )
{
static char * cSignature = "()V";
......@@ -172,7 +172,7 @@ sal_Int32 SAL_CALL java_io_InputStream::readBytes( ::com::sun::star::uno::Sequen
if ( aData.getLength() < nBytesToRead )
throw ::com::sun::star::io::BufferSizeExceededException();
jint out(0);
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment gelscht worden!");
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
if( t.pEnv )
{
jbyteArray pByteArray = t.pEnv->NewByteArray(nBytesToRead);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment