summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapper_Impl.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-30 14:19:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-01 09:28:52 +0100
commitd6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5 (patch)
tree995c41a30f4224233267a8cfb05da41ae8c10275 /writerfilter/source/dmapper/DomainMapper_Impl.cxx
parent102fdc08b86599b9e538d2f38df865d56b3ec63d (diff)
OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION
Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapper_Impl.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 556e5abc495d..3e50c10ee4b4 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2058,7 +2058,7 @@ void DomainMapper_Impl::finishParagraph( const PropertyMapPtr& pPropertyMap, con
}
catch(const lang::IllegalArgumentException&)
{
- OSL_FAIL( "IllegalArgumentException in DomainMapper_Impl::finishParagraph" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "DomainMapper_Impl::finishParagraph" );
}
catch(const uno::Exception&)
{
@@ -2216,11 +2216,11 @@ void DomainMapper_Impl::appendTextPortion( const OUString& rString, const Proper
}
catch(const lang::IllegalArgumentException&)
{
- OSL_FAIL( "IllegalArgumentException in DomainMapper_Impl::appendTextPortion" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "DomainMapper_Impl::appendTextPortion" );
}
catch(const uno::Exception&)
{
- OSL_FAIL( "Exception in DomainMapper_Impl::appendTextPortion" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "DomainMapper_Impl::appendTextPortion" );
}
}
@@ -2350,7 +2350,7 @@ void DomainMapper_Impl::appendOLE( const OUString& rStreamName, const std::share
}
catch( const uno::Exception& )
{
- OSL_FAIL( "Exception in creation of OLE object" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "in creation of OLE object" );
}
}
@@ -2405,7 +2405,7 @@ void DomainMapper_Impl::appendStarMath( const Value& val )
}
catch( const uno::Exception& )
{
- OSL_FAIL( "Exception in creation of StarMath object" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "in creation of StarMath object" );
}
}
@@ -2699,7 +2699,7 @@ void DomainMapper_Impl::CreateRedline(uno::Reference<text::XTextRange> const& xR
}
catch( const uno::Exception & )
{
- OSL_FAIL( "Exception in makeRedline" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "in makeRedline" );
}
}
@@ -6446,11 +6446,11 @@ void DomainMapper_Impl::PopFieldContext()
}
catch(const lang::IllegalArgumentException&)
{
- OSL_FAIL( "IllegalArgumentException in PopFieldContext()" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "PopFieldContext()" );
}
catch(const uno::Exception&)
{
- OSL_FAIL( "exception in PopFieldContext()" );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "PopFieldContext()" );
}
}