Kaydet (Commit) 289e54fe authored tarafından Stephan Bergmann's avatar Stephan Bergmann

binaryurp: silently ignore superfluous MUSTREPLY/SYNCHRONOUS flags

...in a non-oneway call.  This can happen when a pre LO 4 entity is calling a
LO 4 entity post 90eac3e6
"API CHANGE remove [oneway] method attributes."  (See mail thread starting at
<http://mail-archives.apache.org/mod_mbox/openoffice-api/201311.mbox/%3Ca4e7f34d-b8cb-4d5a-890f-6894d3410265%40ucimail2.uci.cu%3E>
"hi, code in Java.")

Change-Id: I9f800a979d84a95cc5cd96f75ee7472e8cf6cf4b
üst f4487772
...@@ -238,12 +238,10 @@ void Reader::readMessage(Unmarshal & unmarshal) { ...@@ -238,12 +238,10 @@ void Reader::readMessage(Unmarshal & unmarshal) {
{ {
synchronous = forceSynchronous; synchronous = forceSynchronous;
} else { } else {
if (forceSynchronous) { SAL_INFO_IF(
throw css::uno::RuntimeException( forceSynchronous, "binaryurp",
("URP: synchronous request message with non-oneway function ID" ("superfluous MUSTREPLY/SYNCHRONOUS ignored in request message with"
" received"), " non-oneway function ID"));
css::uno::Reference< css::uno::XInterface >());
}
synchronous = true; synchronous = true;
} }
bool setter = false; bool setter = false;
......
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