diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-10-05 14:00:00 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-05 14:00:34 +0100 |
commit | 6c2d66e5257e46f8db438ae2151ba440870e2400 (patch) | |
tree | a427b3a48203596332936bda3313e1a87dd8d7cd /canvas/workben | |
parent | 9891d0722f2d4cec1ec7f522dc3abe2f2de6de63 (diff) |
remove const sal_Char * casts of rtl::OUStringToOString results, fixes ucb
Diffstat (limited to 'canvas/workben')
-rw-r--r-- | canvas/workben/canvasdemo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx index db72a7df4079..63a5652a9eec 100644 --- a/canvas/workben/canvasdemo.cxx +++ b/canvas/workben/canvasdemo.cxx @@ -634,7 +634,7 @@ void TestWindow::Paint( const Rectangle& /*rRect*/ ) catch (const uno::Exception &e) { fprintf( stderr, "Exception '%s' thrown\n" , - (const sal_Char *) ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ) ); + ::rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() ); } } |