tdf#154546 skip dispatch when presenter controller is not set
commitb3f3d1447477428669a6d96dc2d6421de61204ba
authorPatrick Luby <patrick.luby@collabora.com>
Sun, 16 Apr 2023 14:10:35 +0000 (16 10:10 -0400)
committerPatrick Luby <plubius@neooffice.org>
Fri, 21 Apr 2023 17:08:10 +0000 (21 19:08 +0200)
tree6bfd8d63817d99e2aacaa6c55b1b354587e21b8a
parent53f72f72ab501bb12bd6fd8ff9788b9a278c16bf
tdf#154546 skip dispatch when presenter controller is not set

mpPresenterController is sometimes unset and this will cause a
crash when pressing the presenter console's Exchange button.

Change-Id: Ibfc866d573ce0c535df5c8fdbd6d358353784854
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150456
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Patrick Luby <plubius@neooffice.org>
sd/source/console/PresenterProtocolHandler.cxx