some OSL_FAIL to SAL_WARN
Change-Id: I5101e42b7a34cca9055fc805d9a392ba4f920a3d
This commit is contained in:
@@ -55,12 +55,9 @@ namespace slideshow
|
|||||||
for( const auto& pActivity : maCurrentActivitiesReinsert )
|
for( const auto& pActivity : maCurrentActivitiesReinsert )
|
||||||
pActivity->dispose();
|
pActivity->dispose();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &)
|
catch (const uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL( OUStringToOString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
comphelper::anyToString(
|
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -73,12 +73,9 @@ namespace slideshow
|
|||||||
{
|
{
|
||||||
maEvents.top().pEvent->dispose();
|
maEvents.top().pEvent->dispose();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &)
|
catch (const uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL( OUStringToOString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
comphelper::anyToString(
|
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
maEvents.pop();
|
maEvents.pop();
|
||||||
}
|
}
|
||||||
|
@@ -179,12 +179,9 @@ RehearseTimingsActivity::~RehearseTimingsActivity()
|
|||||||
{
|
{
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &)
|
catch (const uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL( OUStringToOString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
comphelper::anyToString(
|
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -79,12 +79,9 @@ namespace slideshow
|
|||||||
// if not done yet: revoke subset from original
|
// if not done yet: revoke subset from original
|
||||||
disableSubsetShape();
|
disableSubsetShape();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &)
|
catch (const uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL( OUStringToOString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
comphelper::anyToString(
|
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -487,12 +487,9 @@ namespace slideshow
|
|||||||
mrMultiplexer.removeViewHandler( mpHandler );
|
mrMultiplexer.removeViewHandler( mpHandler );
|
||||||
mpHandler->dispose();
|
mpHandler->dispose();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &)
|
catch (const uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL( OUStringToOString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
comphelper::anyToString(
|
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -110,12 +110,9 @@ ClippingAnimation::~ClippingAnimation()
|
|||||||
{
|
{
|
||||||
end_();
|
end_();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &)
|
catch (const uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL( OUStringToOString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
comphelper::anyToString(
|
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -354,9 +351,6 @@ AnimationActivitySharedPtr createShapeTransitionByType(
|
|||||||
SAL_WARN("slideshow",
|
SAL_WARN("slideshow",
|
||||||
"createShapeTransitionByType(): Unknown type/subtype combination encountered: "
|
"createShapeTransitionByType(): Unknown type/subtype combination encountered: "
|
||||||
<< xTransition->getTransition() << " " << xTransition->getSubtype() );
|
<< xTransition->getTransition() << " " << xTransition->getSubtype() );
|
||||||
OSL_FAIL(
|
|
||||||
"createShapeTransitionByType(): Unknown type/subtype "
|
|
||||||
"combination encountered" );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return pGeneratedActivity;
|
return pGeneratedActivity;
|
||||||
|
@@ -558,11 +558,9 @@ UserEventQueue::~UserEventQueue()
|
|||||||
// unregister all handlers
|
// unregister all handlers
|
||||||
clear();
|
clear();
|
||||||
}
|
}
|
||||||
catch (uno::Exception &) {
|
catch (const uno::Exception&)
|
||||||
OSL_FAIL( OUStringToOString(
|
{
|
||||||
comphelper::anyToString(
|
SAL_WARN( "slideshow", "" << comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -945,14 +945,11 @@ void SdrOle2Obj::CheckFileLink_Impl()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( css::uno::Exception& )
|
catch (const css::uno::Exception&)
|
||||||
{
|
{
|
||||||
OSL_FAIL(
|
SAL_WARN( "svx", "SdrOle2Obj::CheckFileLink_Impl(),"
|
||||||
OString(OString("SdrOle2Obj::CheckFileLink_Impl(), "
|
"exception caught: "
|
||||||
"exception caught: ") +
|
<< comphelper::anyToString(cppu::getCaughtException() ) );
|
||||||
OUStringToOString(
|
|
||||||
comphelper::anyToString( cppu::getCaughtException() ),
|
|
||||||
RTL_TEXTENCODING_UTF8 )).getStr() );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user