coverity#1169804 Unchecked return value

Change-Id: I32fb858ab78a741a194ae11a3147645d786c9afe
This commit is contained in:
Caolán McNamara
2014-02-09 16:42:44 +00:00
parent f2fb3c4647
commit 53c84ea21e

View File

@@ -4126,7 +4126,9 @@ AutoRecovery::EFailureSafeResult AutoRecovery::implts_copyFile(const OUString& s
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);
}
catch(const css::uno::Exception&)