Kaydet (Commit) 2c70139d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

...or rather, like this

Change-Id: I87b547b76f6e214730757bec375b1d7b3d5d8f41
üst 8f903369
...@@ -90,7 +90,7 @@ sal_Int32 SAL_CALL java_io_Reader::available( ) throw(::com::sun::star::io::Not ...@@ -90,7 +90,7 @@ sal_Int32 SAL_CALL java_io_Reader::available( ) throw(::com::sun::star::io::Not
out = t.pEnv->CallBooleanMethod( object, mID); out = t.pEnv->CallBooleanMethod( object, mID);
ThrowRuntimeException(t.pEnv,*this); ThrowRuntimeException(t.pEnv,*this);
} //t.pEnv } //t.pEnv
return (m_buf != boost::none && out) ? 1 : 0; // no way to tell *how much* is ready return (m_buf != boost::none ? 1 : 0) + (out ? 1 : 0); // no way to tell *how much* is ready
} }
void SAL_CALL java_io_Reader::closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) void SAL_CALL java_io_Reader::closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
......
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