Kaydet (Commit) 2ff3ce4b authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: log exception message in ModelEventListener

üst 01baa9e0
......@@ -27,6 +27,7 @@
************************************************************************/
#include <ModelEventListener.hxx>
#include <PropertyIds.hxx>
#include <rtl/oustringostreaminserter.hxx>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/text/XDocumentIndex.hpp>
#include <com/sun/star/text/XDocumentIndexesSupplier.hpp>
......@@ -98,8 +99,7 @@ void ModelEventListener::notifyEvent( const document::EventObject& rEvent ) thro
}
catch( const uno::Exception& rEx )
{
(void)rEx;
OSL_FAIL( "exception while updating indexes" );
SAL_WARN("writerfilter", "exception while updating indexes: " << rEx.Message);
}
}
}
......
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