diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2021-02-05 14:15:30 +0100 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2021-02-06 02:52:05 +0100 |
commit | a0c689e1ad98bf3c47d189b8cc99c9f4bcc41a12 (patch) | |
tree | c7f0f44e81cd021c9c82a815ef3bb69575e8a553 /sc/source/core | |
parent | faadf530c22d1874640936b8554845d7ff36f263 (diff) |
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@t-online.de>
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 63d4cb8518d2..c7d2ad49b7a9 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -2014,6 +2014,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 ); |