diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2013-10-02 12:57:30 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2013-10-02 12:57:55 +0100 |
commit | 3edc4b8aab3d07019592c92eb278d2f016679902 (patch) | |
tree | aabf0d18a395e81adddf1bac543ddaa2f9895439 /sd | |
parent | Add sending server information after pairing. (diff) | |
download | core-3edc4b8aab3d07019592c92eb278d2f016679902.tar.gz core-3edc4b8aab3d07019592c92eb278d2f016679902.zip |
sdremote: simplify version string creation.
Change-Id: I764d857679bdaafd40a46c80c461d787c6da144a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index c9954e2f8c30..d8e081301922 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -57,10 +57,7 @@ void Communicator::execute() Transmitter::PRIORITY_HIGH ); OStringBuffer aServerInformationBuffer; - aServerInformationBuffer - .append( "LO_SERVER_INFO\n" ) - .append( OUStringToOString( OUString::createFromAscii( LIBO_VERSION_DOTTED ), RTL_TEXTENCODING_UTF8 ) ) - .append("\n\n"); + aServerInformationBuffer.append( "LO_SERVER_INFO\n" LIBO_VERSION_DOTTED "\n\n" ); pTransmitter->addMessage( aServerInformationBuffer.makeStringAndClear(), Transmitter::PRIORITY_HIGH ); |