coverity#1343619 Unchecked return value

Change-Id: Icc27e275d376b3ff66d0e44eb23e62f57f9cc470
This commit is contained in:
Caolán McNamara
2015-12-19 15:15:22 +00:00
parent c4decc56d2
commit e2ed122ff3

View File

@@ -88,7 +88,8 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const css::uno::Reference<
OUString aQueryURL = OStringToOUString(aUTF8QueryURL.makeStringAndClear(), RTL_TEXTENCODING_UTF8);
ucbhelper::Content aContent(aQueryURL, aEnvironment, m_xContext);
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
try {
m_aResultStream = aContent.openStream();