diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-05 12:42:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-06 11:42:22 +0100 |
commit | 5ef9770158a3f9579429f64409c5897304ea9111 (patch) | |
tree | 1dd6b1f7c5e5ba53409660268c3fa24d94412411 /svx/source | |
parent | c0b938e279fc36e6da129304b075361de39fa8bd (diff) |
cid#1558795 Dereference after null check
Change-Id: Iebdc89ee4512e2583a9e320ba65b3f40c3d5a33b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160345
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdoedge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index d3f2560790db..19c498948dcd 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -1511,7 +1511,7 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, tools::Long nAngle1, co if (eKind != SdrEdgeKind::Bezier || nPointCount <= 2) return aXP1; - if (pInfo->m_bUseOOXMLCurve) // Routing method OOXML + if (pInfo && pInfo->m_bUseOOXMLCurve) // Routing method OOXML { // The additional points needed are located on the segments of the path of the // corresponding bentConnector as calculated above. |