diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-05 20:53:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-06 12:23:39 +0200 |
commit | 0cd07e1fb7afc0a6831eaafabcead7e0c5f7ac3b (patch) | |
tree | 8f145203ea1b9cf43d5e41b0c99c12b3e7465575 /sc/source/ui/drawfunc/fudraw.cxx | |
parent | ef2066cdfe86019a3099b3530fb091ca2a4d2446 (diff) |
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I71d20c4d35b5123216da55a8b314400c93cae6fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167173
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source/ui/drawfunc/fudraw.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fudraw.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx index 9076a75ada00..1d5be0692b4a 100644 --- a/sc/source/ui/drawfunc/fudraw.cxx +++ b/sc/source/ui/drawfunc/fudraw.cxx @@ -159,6 +159,7 @@ static bool lcl_KeyEditMode( SdrObject* pObj, ScTabViewShell& rViewShell, const bool bReturn = false; if ( DynCastSdrTextObj( pObj) != nullptr && dynamic_cast<const SdrUnoObj*>( pObj) == nullptr ) { + assert(pObj); // start text edit - like FuSelection::MouseButtonUp, // but with bCursorToEnd instead of mouse position |