diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-20 14:54:16 +0000 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2019-11-22 17:47:57 +0100 |
commit | 44a4c6f8e283c47b808cb7b783ed704574b30159 (patch) | |
tree | b37fb20af6ea1a32f3d3dff4b3740166ed7db402 /sc/qa/unit/data/ods/keep-preview-missing-obj-link.ods | |
parent | afbb9883f1b2af418009599a4b1e12577b0515e9 (diff) |
If a SdrOle2Obj object is missing/broken show the preview set for it
if the object isn't valid, e.g. link to something that doesn't exist, set the fallback
graphic as mxGraphic so SdrOle2Obj::GetGraphic will show the fallback, otherwise
the failing mxObjRef.is test in SdrOle2Obj::GetGraphic means it doesn't get used
Reviewed-on: https://gerrit.libreoffice.org/83329
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit 35300000346902db38f063b4427a07fdaf6240cd)
Change-Id: I8f1aea6b25dc216e01a0f888a44d10876bb1bebd
Reviewed-on: https://gerrit.libreoffice.org/83422
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sc/qa/unit/data/ods/keep-preview-missing-obj-link.ods')
-rw-r--r-- | sc/qa/unit/data/ods/keep-preview-missing-obj-link.ods | bin | 0 -> 18464 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/sc/qa/unit/data/ods/keep-preview-missing-obj-link.ods b/sc/qa/unit/data/ods/keep-preview-missing-obj-link.ods Binary files differnew file mode 100644 index 000000000000..e7b15fd7688a --- /dev/null +++ b/sc/qa/unit/data/ods/keep-preview-missing-obj-link.ods |