diff options
author | Hochwasser <oo.o+libreoffice@windbuechse.samba-tng.org> | 2020-09-17 09:08:00 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej@ahunt.org> | 2021-07-10 18:49:46 +0200 |
commit | dabb1dc347071abb7d6a708930f5fbdb8c68c72a (patch) | |
tree | 937f45423a71f877cfc00dfe64e9a07463f6e0cf /sd/source | |
parent | be8c4a236fcc7b9a949ef2a10e8bc8c61d33a7bf (diff) |
tdf#119312 Crash in: sdext::presenter::PresenterSlideShowView::LateInit()
Change-Id: I8c2eda406d8266996eaf023072cc7f4f38edc4a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102902
Tested-by: Jenkins
Tested-by: Andrzej Hunt <andrzej@ahunt.org>
Reviewed-by: Andrzej Hunt <andrzej@ahunt.org>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index de55f38f8514..3d24f1714307 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -75,19 +75,18 @@ void Communicator::execute() if ( xPresentation.is() && xPresentation->isRunning() ) { presentationStarted( xPresentation->getController() ); + OString aBuffer = + "slideshow_info\n" + + OUStringToOString( ::comphelper::DocumentInfo::getDocumentTitle( xFrame->getController()->getModel() ), RTL_TEXTENCODING_UTF8 ) + + "\n\n"; + + pTransmitter->addMessage( aBuffer.getStr(), Transmitter::PRIORITY_LOW ); } else { pTransmitter->addMessage( "slideshow_finished\n\n", Transmitter::PRIORITY_HIGH ); } - - OString aBuffer = - "slideshow_info\n" + - OUStringToOString( ::comphelper::DocumentInfo::getDocumentTitle( xFrame->getController()->getModel() ), RTL_TEXTENCODING_UTF8 ) + - "\n\n"; - - pTransmitter->addMessage( aBuffer.getStr(), Transmitter::PRIORITY_LOW ); } catch (uno::RuntimeException &) { |