summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-10-05 14:00:00 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-05 14:00:34 +0100
commit6c2d66e5257e46f8db438ae2151ba440870e2400 (patch)
treea427b3a48203596332936bda3313e1a87dd8d7cd /slideshow
parent9891d0722f2d4cec1ec7f522dc3abe2f2de6de63 (diff)
remove const sal_Char * casts of rtl::OUStringToOString results, fixes ucb
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/test/demoshow.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index 7e238da41274..d59153720cde 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -370,8 +370,7 @@ void ChildWindow::init()
catch (const uno::Exception &e)
{
OSL_TRACE( "Exception '%s' thrown\n" ,
- (const sal_Char*)::rtl::OUStringToOString( e.Message,
- RTL_TEXTENCODING_UTF8 ));
+ ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
}
}
@@ -385,8 +384,8 @@ void ChildWindow::Paint( const Rectangle& /*rRect*/ )
catch (const uno::Exception &e)
{
OSL_TRACE( "Exception '%s' thrown\n" ,
- (const sal_Char*)::rtl::OUStringToOString( e.Message,
- RTL_TEXTENCODING_UTF8 ));
+ ::rtl::OUStringToOString( e.Message,
+ RTL_TEXTENCODING_UTF8 ).getStr() );
}
}
@@ -478,8 +477,8 @@ void DemoWindow::init()
catch (const uno::Exception &e)
{
OSL_TRACE( "Exception '%s' thrown\n" ,
- (const sal_Char*)::rtl::OUStringToOString( e.Message,
- RTL_TEXTENCODING_UTF8 ));
+ ::rtl::OUStringToOString( e.Message,
+ RTL_TEXTENCODING_UTF8 ).getStr() );
}
}