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

downgrade warning, exception on opening a missing file is an expected thing

Change-Id: I3ca2d6af48adb226e0f56d0500c31f19676c6567
üst bf237cec
...@@ -748,15 +748,17 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi ...@@ -748,15 +748,17 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
xInputStream = aContent.openStreamNoLock(); xInputStream = aContent.openStreamNoLock();
} }
catch(const css::uno::RuntimeException&) catch(const css::uno::RuntimeException&)
{ throw; } {
throw;
}
catch(const css::uno::Exception& e) catch(const css::uno::Exception& e)
{ {
SAL_WARN( SAL_INFO(
"unotools.misc", "unotools.misc",
"caught Exception \"" << e.Message << "\" while opening <" "caught Exception \"" << e.Message << "\" while opening <"
<< sURL << ">"); << sURL << ">");
return false; return false;
} }
} }
// add streams to the descriptor // add streams to the descriptor
......
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