diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-05 12:28:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-05 16:42:57 +0100 |
commit | e7872589d53d85cecd34914125e08e9af4e3d50c (patch) | |
tree | 1033c1b9bf707b1d92a5cc97c744b5768ce77694 /emfio | |
parent | cdedc00ff579980c73b3cdb5fee0c78c1e111361 (diff) |
crashtesting: on import of ooo109115-1.ods
since...
commit 1f0b3c7a40edfa81bbc7a58d123a6a2dfd83e4ca
Date: Sat Oct 10 17:55:31 2020 +0200
Improve 'resize with cell' handling
pObj is (amazingly) actually an E3dScene not a SdrPathObj.
E3dScene::GetObjIdentifier is...
sal_uInt16 E3dScene::GetObjIdentifier() const
{
return E3D_SCENE_ID;
}
and E3D_SCENE_ID is..
const sal_uInt16 E3D_SCENE_ID = 2;
but OBJ_LINE is also 2 !
so this E3dScene is cast to a SdrPathObj which it isn't.
Seems you can only rely on the ObjIdentifier when you know
the SdrInventor of the object, which seems unfortunate.
just use a dynamic_cast for now
Change-Id: Ic3d86e59c74d4f0436e294ce10d432681f312f96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105368
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'emfio')
0 files changed, 0 insertions, 0 deletions