summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-11 10:32:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-11 10:32:17 +0100
commita0fa0fb57d61e6caa3ecd10fa94806ea9de82b94 (patch)
tree69e6f2a29b7ae190d2dc1720f0a5b4d22853b3ba /unotools
parentbf237ceccc604c17994faa1e4eb64b7bd7298fb9 (diff)
downgrade warning, exception on opening a missing file is an expected thing
Change-Id: I3ca2d6af48adb226e0f56d0500c31f19676c6567
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/mediadescriptor.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index 78c6482bbc9f..c757f195606d 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -748,15 +748,17 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
xInputStream = aContent.openStreamNoLock();
}
catch(const css::uno::RuntimeException&)
- { throw; }
+ {
+ throw;
+ }
catch(const css::uno::Exception& e)
- {
- SAL_WARN(
- "unotools.misc",
- "caught Exception \"" << e.Message << "\" while opening <"
- << sURL << ">");
- return false;
- }
+ {
+ SAL_INFO(
+ "unotools.misc",
+ "caught Exception \"" << e.Message << "\" while opening <"
+ << sURL << ">");
+ return false;
+ }
}
// add streams to the descriptor