diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-30 10:38:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-30 13:04:32 +0000 |
commit | 66a2598e164e2003bed045f03e9ed6c0921f7f2b (patch) | |
tree | a6f27b5ab336d3c724b5438c79bb34e2540faa4e /svx/source | |
parent | bc340ff02dcc519dc4fa7770c3da6140048108c8 (diff) |
convert over hidden windows-only ByteStrings
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/sendreportw32.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/dialog/sendreportw32.cxx b/svx/source/dialog/sendreportw32.cxx index 4f2a45c946fb..514fd46bc02c 100644 --- a/svx/source/dialog/sendreportw32.cxx +++ b/svx/source/dialog/sendreportw32.cxx @@ -203,9 +203,10 @@ namespace svx{ if ( fp ) { - ByteString strUTF8( GetUsing(), RTL_TEXTENCODING_UTF8 ); + rtl::OString strUTF8(rtl::OUStringToOString(GetUsing(), + RTL_TEXTENCODING_UTF8)); - fwrite( strUTF8.GetBuffer(), 1, strUTF8.Len(), fp ); + fwrite( strUTF8.getStr(), 1, strUTF8.getLength(), fp ); fclose( fp ); } |