From e9a562ed69d304f0e844d3cb51ac8cf2d3164a63 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 5 Oct 2011 11:14:49 +0100 Subject: cast is gone now --- slideshow/source/engine/animationnodes/animationbasenode.cxx | 2 +- slideshow/source/engine/slide/slideimpl.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/animationnodes/animationbasenode.cxx b/slideshow/source/engine/animationnodes/animationbasenode.cxx index 22c4266ee00c..98c5e2692133 100644 --- a/slideshow/source/engine/animationnodes/animationbasenode.cxx +++ b/slideshow/source/engine/animationnodes/animationbasenode.cxx @@ -219,7 +219,7 @@ bool AnimationBaseNode::init_st() catch (uno::Exception const&) { OSL_FAIL( rtl::OUStringToOString( comphelper::anyToString(cppu::getCaughtException()), - RTL_TEXTENCODING_UTF8 ) ); + RTL_TEXTENCODING_UTF8).getStr() ); // catch and ignore. We later handle empty activities, but for // other nodes to function properly, the core functionality of // this node must remain up and running. diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index 4c749ee9a307..0b6c373904ee 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -876,7 +876,7 @@ bool SlideImpl::implPrefetchShow() OSL_FAIL( rtl::OUStringToOString( comphelper::anyToString(cppu::getCaughtException()), - RTL_TEXTENCODING_UTF8 ) ); + RTL_TEXTENCODING_UTF8).getStr() ); // TODO(E2): Error handling. For now, bail out } @@ -1003,7 +1003,7 @@ bool SlideImpl::applyInitialShapeAttributes( OSL_FAIL( rtl::OUStringToOString( comphelper::anyToString(cppu::getCaughtException()), - RTL_TEXTENCODING_UTF8 ) ); + RTL_TEXTENCODING_UTF8).getStr() ); // could not determine initial shape attributes - this // is an error, as some effects might then be plainly -- cgit