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 /vcl/win/source | |
parent | bc340ff02dcc519dc4fa7770c3da6140048108c8 (diff) |
convert over hidden windows-only ByteStrings
Diffstat (limited to 'vcl/win/source')
-rw-r--r-- | vcl/win/source/app/saldata.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/win/source/app/saldata.cxx b/vcl/win/source/app/saldata.cxx index 0fd4cf7f1591..854849f46b55 100644 --- a/vcl/win/source/app/saldata.cxx +++ b/vcl/win/source/app/saldata.cxx @@ -53,12 +53,12 @@ rtl_TextEncoding ImplSalGetSystemEncoding() // ----------------------------------------------------------------------- -ByteString ImplSalGetWinAnsiString( const UniString& rStr, sal_Bool bFileName ) +rtl::OString ImplSalGetWinAnsiString( const UniString& rStr, sal_Bool bFileName ) { rtl_TextEncoding eEncoding = ImplSalGetSystemEncoding(); if ( bFileName ) { - return ByteString( rStr, eEncoding, + return rtl::OUStringToOString( rStr, eEncoding, RTL_UNICODETOTEXT_FLAGS_UNDEFINED_UNDERLINE | RTL_UNICODETOTEXT_FLAGS_INVALID_UNDERLINE | RTL_UNICODETOTEXT_FLAGS_UNDEFINED_REPLACE | @@ -67,7 +67,7 @@ ByteString ImplSalGetWinAnsiString( const UniString& rStr, sal_Bool bFileName ) } else { - return ByteString( rStr, eEncoding, + return rtl::OUStringToOString( rStr, eEncoding, RTL_UNICODETOTEXT_FLAGS_UNDEFINED_DEFAULT | RTL_UNICODETOTEXT_FLAGS_INVALID_DEFAULT | RTL_UNICODETOTEXT_FLAGS_UNDEFINED_REPLACE | |