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

coverity#707280 Uncaught exception

Change-Id: I764f6472903e6aebef55af1e96c4941e8429d18f
üst bfd22d4b
......@@ -652,11 +652,19 @@ void GalleryTheme::Actualize( const Link& rActualizeLink, GalleryProgress* pProg
sal_uIntPtr nStorErr = 0;
try
{
SvStorageRef aTempStorageRef( new SvStorage( false, aTmpURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_STD_READWRITE ) );
aSvDrawStorageRef->CopyTo( aTempStorageRef );
nStorErr = aSvDrawStorageRef->GetError();
}
catch (const css::ucb::ContentCreationException& e)
{
SAL_WARN("svx", "failed to open: "
<< aTmpURL.GetMainURL(INetURLObject::NO_DECODE)
<< "due to : " << e.Message);
nStorErr = ERRCODE_IO_GENERAL;
}
if( !nStorErr )
{
......
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