Kaydet (Commit) e2ed122f authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1343619 Unchecked return value

Change-Id: Icc27e275d376b3ff66d0e44eb23e62f57f9cc470
üst c4decc56
...@@ -88,7 +88,8 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const css::uno::Reference< ...@@ -88,7 +88,8 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const css::uno::Reference<
OUString aQueryURL = OStringToOUString(aUTF8QueryURL.makeStringAndClear(), RTL_TEXTENCODING_UTF8); OUString aQueryURL = OStringToOUString(aUTF8QueryURL.makeStringAndClear(), RTL_TEXTENCODING_UTF8);
ucbhelper::Content aContent(aQueryURL, aEnvironment, m_xContext); ucbhelper::Content aContent(aQueryURL, aEnvironment, m_xContext);
css::uno::Reference< XOutputStream > aPipe( css::io::Pipe::create(m_xContext), UNO_QUERY_THROW ); css::uno::Reference< XOutputStream > aPipe( css::io::Pipe::create(m_xContext), UNO_QUERY_THROW );
aContent.openStream(aPipe); if (!aContent.openStream(aPipe))
return UNKNOWN_ERROR;
// get reply // get reply
try { try {
m_aResultStream = aContent.openStream(); m_aResultStream = aContent.openStream();
......
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