coverity#1169804 Unchecked return value
Change-Id: I32fb858ab78a741a194ae11a3147645d786c9afe
This commit is contained in:
@@ -4126,7 +4126,9 @@ AutoRecovery::EFailureSafeResult AutoRecovery::implts_copyFile(const OUString& s
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
::ucbhelper::Content::create(sSource, xEnvironment, m_xContext, aSourceContent);
|
bool bSuccess = ::ucbhelper::Content::create(sSource, xEnvironment, m_xContext, aSourceContent);
|
||||||
|
if (!bSuccess)
|
||||||
|
return AutoRecovery::E_ORIGINAL_FILE_MISSING;
|
||||||
aTargetContent.transferContent(aSourceContent, ::ucbhelper::InsertOperation_COPY, sTargetName, nNameClash);
|
aTargetContent.transferContent(aSourceContent, ::ucbhelper::InsertOperation_COPY, sTargetName, nNameClash);
|
||||||
}
|
}
|
||||||
catch(const css::uno::Exception&)
|
catch(const css::uno::Exception&)
|
||||||
|
Reference in New Issue
Block a user