summaryrefslogtreecommitdiff
path: root/svx/source/gengal
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 /svx/source/gengal
parent9891d0722f2d4cec1ec7f522dc3abe2f2de6de63 (diff)
remove const sal_Char * casts of rtl::OUStringToOString results, fixes ucb
Diffstat (limited to 'svx/source/gengal')
-rw-r--r--svx/source/gengal/gengal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index d8daa1c2884a..21f687afaa9e 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -175,7 +175,7 @@ static void createTheme( rtl::OUString aThemeName,
if( aGraphic.GetType() == GRAPHIC_NONE )
{
fprintf( stderr, "Failed to load '%s'\n",
- (const sal_Char *) rtl::OUStringToOString( *aIter, RTL_TEXTENCODING_UTF8 ) );
+ rtl::OUStringToOString( *aIter, RTL_TEXTENCODING_UTF8 ).getStr() );
continue;
}