Kaydet (Commit) 30a6622c authored tarafından Miklos Vajna's avatar Miklos Vajna

CID#1295034 uncaught exception

Change-Id: I853e520dd60c3e19cbf7a7b620115df50fc25b30
üst 5e16ece1
...@@ -64,6 +64,8 @@ MathTypeFilter::~MathTypeFilter() ...@@ -64,6 +64,8 @@ MathTypeFilter::~MathTypeFilter()
sal_Bool MathTypeFilter::filter(const uno::Sequence<beans::PropertyValue>& rDescriptor) throw(uno::RuntimeException, std::exception) sal_Bool MathTypeFilter::filter(const uno::Sequence<beans::PropertyValue>& rDescriptor) throw(uno::RuntimeException, std::exception)
{ {
bool bSuccess = false; bool bSuccess = false;
try
{
utl::MediaDescriptor aMediaDesc(rDescriptor); utl::MediaDescriptor aMediaDesc(rDescriptor);
aMediaDesc.addInputStream(); aMediaDesc.addInputStream();
uno::Reference<io::XInputStream> xInputStream; uno::Reference<io::XInputStream> xInputStream;
...@@ -92,6 +94,11 @@ sal_Bool MathTypeFilter::filter(const uno::Sequence<beans::PropertyValue>& rDesc ...@@ -92,6 +94,11 @@ sal_Bool MathTypeFilter::filter(const uno::Sequence<beans::PropertyValue>& rDesc
} }
} }
} }
}
catch (const uno::Exception& rException)
{
SAL_WARN("starmath", "Exception caught: " << rException.Message);
}
return bSuccess; return bSuccess;
} }
......
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