diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-12-20 21:09:32 +0100 |
---|---|---|
committer | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-12-20 21:10:37 +0100 |
commit | 11c4f731813843ca269369d262bb5e0f5c47829f (patch) | |
tree | 75fd8d7c2fe15cde258ed17980a9e842f5494df4 /vcl/headless/headlessinst.cxx | |
parent | d98b888258e413214275c8e7f035325fe9339b78 (diff) |
vcl/headless: some more string cleanup
As suggested by Olivier Hallot and Lubos Lunak
Change-Id: Ie5d9f379294b004992dab0b98d6dfa4aa5456159
Diffstat (limited to 'vcl/headless/headlessinst.cxx')
-rw-r--r-- | vcl/headless/headlessinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/headlessinst.cxx b/vcl/headless/headlessinst.cxx index 312f7635ffb0..1d1f15ef645e 100644 --- a/vcl/headless/headlessinst.cxx +++ b/vcl/headless/headlessinst.cxx @@ -88,7 +88,7 @@ void SalAbort( const OUString& rErrorText, bool bDumpCore ) { OUString aError( rErrorText ); if( aError.isEmpty() ) - aError = OUString::createFromAscii("Unknown application error"); + aError = "Unknown application error"; ::fprintf( stderr, "%s\n", OUStringToOString(rErrorText, osl_getThreadTextEncoding()).getStr() ); ::fprintf( stderr, "SalAbort: '%s'", @@ -101,7 +101,7 @@ void SalAbort( const OUString& rErrorText, bool bDumpCore ) const OUString& SalGetDesktopEnvironment() { - static OUString aEnv( RTL_CONSTASCII_USTRINGPARAM( "headless" ) ); + static OUString aEnv( "headless" ); return aEnv; } |