summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/Server.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/remotecontrol/Server.cxx')
-rw-r--r--sd/source/ui/remotecontrol/Server.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index 7404bbddcfbf..07321bad6e94 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -131,9 +131,8 @@ void RemoteServer::execute()
MutexGuard aGuard( sDataMutex );
::boost::shared_ptr< ClientInfoInternal > pClient(
new ClientInfoInternal(
- OStringToOUString( aName, RTL_TEXTENCODING_UTF8 ),
- aAddress, false, pSocket, OStringToOUString( aPin,
- RTL_TEXTENCODING_UTF8 ) ) );
+ OUString::fromUtf8( aName ),
+ aAddress, false, pSocket, OUString::fromUtf8( aPin ) ) );
mAvailableClients.push_back( pClient );
// Read off any additional non-empty lines