sw: fix crash in SwAnchoredObject::UpdateObjInSortedList
commitac8ca487f7d065fa590eda1d95d7fd75e59cefd1
authorXisco Fauli <xiscofauli@libreoffice.org>
Tue, 31 May 2022 13:06:53 +0000 (31 15:06 +0200)
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Wed, 1 Jun 2022 17:05:19 +0000 (1 19:05 +0200)
tree19509ff48404b50151272f3a71588d4224c027aa
parentb58c969f11a9ce5824ace49d21ead73afb776874
sw: fix crash in SwAnchoredObject::UpdateObjInSortedList

See https://crashreport.libreoffice.org/stats/signature/SwAnchoredObject::UpdateObjInSortedList()

Just a few lines above (line 636) the same checks are used inside
the DocumentSettingId::CONSIDER_WRAP_ON_OBJECT_POSITION condition
so I don't understand why they weren't added here as well
Change-Id: Id8ade0a506d5996d9e357d45c20fe56a68a93eec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135188
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit 64f8a70298695d1952c3a399e897755ab861add5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135170
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit 15ba58dfb4be1920f562927273cc867eb556a3ec)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135172
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
sw/source/core/layout/anchoredobject.cxx