coverity#1343619 Unchecked return value
Change-Id: Icc27e275d376b3ff66d0e44eb23e62f57f9cc470
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user