[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source
Regina Henschel (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 10 13:35:51 UTC 2021
sc/source/core/data/drwlayer.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f21595cb5d9f978e11b23471671f11736c42e99d
Author: Regina Henschel <rb.henschel at t-online.de>
AuthorDate: Fri Feb 5 14:15:30 2021 +0100
Commit: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Wed Feb 10 14:35:11 2021 +0100
cid#1472783 avoid null pointer dereference
The target was created, but the pointer was not updated.
Change-Id: I2e19ae3c84769de493f712f3189a2a506f173c0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110476
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel at t-online.de>
Signed-off-by: Xisco Fauli <xiscofauli at libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110658
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index b89db024a4a3..497ad478b146 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -2026,6 +2026,8 @@ void ScDrawLayer::MirrorRTL( SdrObject* pObj )
*pDoc, pData->maStart.Tab());
aNoRotateAnchor.mbResizeWithCell = pData->mbResizeWithCell;
SetNonRotatedAnchor(*pObj, aNoRotateAnchor);
+ pNoRotatedAnchor = GetNonRotatedObjData(pObj);
+ assert(pNoRotatedAnchor);
}
// Mirror object at vertical axis
Point aRef1( 0, 0 );
More information about the Libreoffice-commits
mailing list