| commit | 7903b2c1733c2ebb9f1059eb9d191befd1d36baf | [log] |
|---|---|---|
| author | Xisco Fauli <xiscofauli@libreoffice.org> | Thu Jun 27 17:26:34 2019 +0200 |
| committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | Fri Jun 28 10:43:06 2019 +0200 |
| tree | 6e505a56c88c5c28d2c3f9d019f9cbe6e308f449 | |
| parent | d4d2cd593231f97cff938d7d6b30527e310c4244 [diff] |
tdf#126137: Do not dereference non-existing Object Regression from dfefe448c41921f2f1e54d3f69b8b9e89031d055 Use same logic as in c28ec6d9fbb21b363102faac0171de2754ea5d75 Change-Id: Ia489eb61873d38c31729fedb853b11570e562123 Reviewed-on: https://gerrit.libreoffice.org/74811 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit b653f21313f3b8ff9da99897e3a0c2df4a685b60) Reviewed-on: https://gerrit.libreoffice.org/74826 Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 999d7fb..f042b3b 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx
@@ -1049,7 +1049,7 @@ { pNewOutlinerParaObject = pEO->CreateParaObject(); } else else if (nullptr != rObj.getActiveText()->GetOutlinerParaObject()) { pNewOutlinerParaObject.reset( new OutlinerParaObject(*rObj.getActiveText()->GetOutlinerParaObject()) ); }