Kaydet (Commit) 8f903369 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:implicitboolconversion

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