summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/app
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-14 17:58:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-14 17:59:58 +0100
commitd43f1e85aa768656a30cae9cbc131b072597250f (patch)
treebb10d413bb2a891facd0abb2e1b3e69f3d696f7e /vcl/aqua/source/app
parent9e77c269b6a0fc1e84812f4817c3c58a01347f29 (diff)
Adapted Mac-only code to ByteString reduction.
Diffstat (limited to 'vcl/aqua/source/app')
-rw-r--r--vcl/aqua/source/app/salinst.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 0898e67d0f11..3df68444fbe8 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -325,7 +325,7 @@ void InitSalMain()
if ( aCmdPath.Len() ) {
DirEntry aCmdDirEntry( aCmdPath );
aCmdDirEntry.ToAbs();
- aCmdPath = ByteString( aCmdDirEntry.GetPath().GetFull(), RTL_TEXTENCODING_ASCII_US );
+ aCmdPath = rtl::OUStringToOString( aCmdDirEntry.GetPath().GetFull(), RTL_TEXTENCODING_ASCII_US );
}
// Assign to PATH environment variable
if ( aCmdPath.Len() )
@@ -333,7 +333,7 @@ void InitSalMain()
aTmpPath = ByteString( "PATH=" );
aTmpPath += aCmdPath;
if ( aPath.Len() )
- aTmpPath += ByteString( DirEntry::GetSearchDelimiter(), RTL_TEXTENCODING_ASCII_US );
+ aTmpPath += rtl::OUStringToOString( DirEntry::GetSearchDelimiter(), RTL_TEXTENCODING_ASCII_US );
aTmpPath += aPath;
putenv( (char*)aTmpPath.GetBuffer() );
}
@@ -343,7 +343,7 @@ void InitSalMain()
aTmpPath = ByteString( "STAR_RESOURCEPATH=" );
aTmpPath += aCmdPath;
if ( aResPath.Len() )
- aTmpPath += ByteString( DirEntry::GetSearchDelimiter(), RTL_TEXTENCODING_ASCII_US );
+ aTmpPath += rtl::OUStringToOString( DirEntry::GetSearchDelimiter(), RTL_TEXTENCODING_ASCII_US );
aTmpPath += aResPath;
putenv( (char*)aTmpPath.GetBuffer() );
}
@@ -353,7 +353,7 @@ void InitSalMain()
aTmpPath = ByteString( "DYLD_LIBRARY_PATH=" );
aTmpPath += aCmdPath;
if ( aLibPath.Len() )
- aTmpPath += ByteString( DirEntry::GetSearchDelimiter(), RTL_TEXTENCODING_ASCII_US );
+ aTmpPath += rtl::OUStringToOString( DirEntry::GetSearchDelimiter(), RTL_TEXTENCODING_ASCII_US );
aTmpPath += aLibPath;
putenv( (char*)aTmpPath.GetBuffer() );
}