diff options
Diffstat (limited to 'desktop/source/deployment/misc/dp_misc.cxx')
-rw-r--r-- | desktop/source/deployment/misc/dp_misc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx index 5d64ce217137..8496d31e9dba 100644 --- a/desktop/source/deployment/misc/dp_misc.cxx +++ b/desktop/source/deployment/misc/dp_misc.cxx @@ -248,7 +248,7 @@ inline OUString encodeForRcFile( OUString const & str ) case '\\': case '{': case '}': - buf.append( static_cast<sal_Unicode>('\\') ); + buf.append( '\\' ); break; } buf.append( c ); @@ -270,7 +270,7 @@ OUString makeURL( OUString const & baseURL, OUString const & relPath_ ) relPath = relPath.copy( 1 ); if (!relPath.isEmpty()) { - buf.append( static_cast<sal_Unicode>('/') ); + buf.append( '/' ); if (baseURL.match( "vnd.sun.star.expand:" )) { // encode for macro expansion: relPath is supposed to have no // macros, so encode $, {} \ (bootstrap mimic) |