diff options
Diffstat (limited to 'sd/source/ui/remotecontrol/Communicator.cxx')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index a500d9191131..0971e2868da1 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -75,20 +75,19 @@ void Communicator::execute() if ( xPresentation.is() && xPresentation->isRunning() ) { presentationStarted( xPresentation->getController() ); + OStringBuffer aBuffer; + aBuffer + .append( "slideshow_info\n" ) + .append( OUStringToOString( ::comphelper::DocumentInfo::getDocumentTitle( xFrame->getController()->getModel() ), RTL_TEXTENCODING_UTF8 ) ) + .append("\n\n"); + + pTransmitter->addMessage( aBuffer.makeStringAndClear(), Transmitter::PRIORITY_LOW ); } else { pTransmitter->addMessage( "slideshow_finished\n\n", Transmitter::PRIORITY_HIGH ); } - - OStringBuffer aBuffer; - aBuffer - .append( "slideshow_info\n" ) - .append( OUStringToOString( ::comphelper::DocumentInfo::getDocumentTitle( xFrame->getController()->getModel() ), RTL_TEXTENCODING_UTF8 ) ) - .append("\n\n"); - - pTransmitter->addMessage( aBuffer.makeStringAndClear(), Transmitter::PRIORITY_LOW ); } catch (uno::RuntimeException &) { |