[Libreoffice-commits] core.git: writerfilter/source

Miklos Vajna vmiklos at suse.cz
Mon Aug 12 01:57:01 PDT 2013


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a45492fa9bfe5ba76910b178fda64205ae5f6705
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Mon Aug 12 10:20:43 2013 +0200

    OSL_FAIL -> SAL_WARN
    
    Change-Id: Ifbf7db8044ee28f5f24c03480391a315358a2db4

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index c85f0aa..eb8fd3c 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1605,9 +1605,9 @@ void DomainMapper_Impl::PushAnnotation()
         m_aTextAppendStack.push(TextAppendContext(uno::Reference< text::XTextAppend >( xAnnotationText, uno::UNO_QUERY_THROW ),
                     m_bIsNewDoc ? uno::Reference<text::XTextCursor>() : m_xBodyText->createTextCursorByRange(xAnnotationText->getStart())));
     }
-    catch( const uno::Exception& )
+    catch( const uno::Exception& rException)
     {
-        OSL_FAIL( "exception in PushAnnotation" );
+        SAL_WARN("writerfilter", "exception in PushAnnotation: " << rException.Message);
     }
 }
 


More information about the Libreoffice-commits mailing list