summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2013-10-02 12:57:30 +0100
committerMichael Meeks <michael.meeks@collabora.com>2013-10-02 12:57:55 +0100
commit3edc4b8aab3d07019592c92eb278d2f016679902 (patch)
treeaabf0d18a395e81adddf1bac543ddaa2f9895439 /sd
parent7488c72023dedd38eade901a8686044ff6ea525a (diff)
sdremote: simplify version string creation.
Change-Id: I764d857679bdaafd40a46c80c461d787c6da144a
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/Communicator.cxx5
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 );