diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-25 10:35:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-26 10:05:24 +0000 |
commit | d4237bfb17101c6158ff98a6930e03aec94df314 (patch) | |
tree | 990b2423058e433500bf0f342b6a60224e492eb3 /sd/source/ui/tools | |
parent | 6b1f83880372868fb61c84dbe3230910cdbb386f (diff) |
GetDrawController should return pointer
since it may be nullptr
Change-Id: Id618ef6a25a8432024a67170a7d1402cb0fa6b8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146157
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r-- | sd/source/ui/tools/EventMultiplexer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx index 26d43b9b6dc6..d106a937f284 100644 --- a/sd/source/ui/tools/EventMultiplexer.cxx +++ b/sd/source/ui/tools/EventMultiplexer.cxx @@ -211,7 +211,7 @@ EventMultiplexer::Implementation::Implementation (ViewShellBase& rBase) StartListening (*mpDocument); // Listen for configuration changes. - DrawController& rDrawController = mrBase.GetDrawController(); + DrawController& rDrawController = *mrBase.GetDrawController(); Reference<XConfigurationController> xConfigurationController ( rDrawController.getConfigurationController()); |