[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sd/source
Hochwasser (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 20 09:25:08 UTC 2021
sd/source/ui/remotecontrol/Communicator.cxx | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
New commits:
commit 051bb16057904647f11ec0b6ac0f4a245ea63531
Author: Hochwasser <oo.o+libreoffice at windbuechse.samba-tng.org>
AuthorDate: Thu Sep 17 09:08:00 2020 +0100
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Tue Jul 20 11:24:31 2021 +0200
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 at ahunt.org>
Reviewed-by: Andrzej Hunt <andrzej at ahunt.org>
(cherry picked from commit dabb1dc347071abb7d6a708930f5fbdb8c68c72a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118719
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
Signed-off-by: Xisco Fauli <xiscofauli at libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118973
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
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 &)
{
More information about the Libreoffice-commits
mailing list