office-gobmx/editeng/source
Justin Luth 0d3748e5fb tdf#163598 editeng: avoid using fake outline depth
Most implementations do not actually
do anything meaningful with Get/SetDepth,
so don't exception or accept their values.

To fix the bug, I could have just checked for
dynamic_cast<SvxEditEngineForwarder*>
(since it supports EE_PARA_OUTLLEVEL directly)
but this way seemed more encompassing.

The potential downside is that EE_PARA_OUTLLEVEL
will be requested as a real property
after GetPropertyValueHelper
with some of these dummy providers,
and who knows what UNO might do about that...

IF this patch causes problems,
then I need to implement Get/SetDepth
in SvxEditEngineForwarder
(or consider the dummy providers as SupportsOutlineDepth).

Change-Id: I74bf5e39a13bb1d588c39634347eb0982bda66b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176981
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-11-22 04:52:46 +01:00
..
accessibility
editeng tdf#163967 RTF: Pasting/loading hyperlink imports font color and underline 2024-11-20 21:29:59 +01:00
items consider VndSunStarExpand an exotic protocol 2024-11-19 20:20:03 +01:00
lookuptree
misc
outliner tdf#36709 editeng: Layout for font-relative first-line indent 2024-11-13 15:01:11 +01:00
rtf cid#1607833 Overflowed constant 2024-11-17 17:39:46 +01:00
uno tdf#163598 editeng: avoid using fake outline depth 2024-11-22 04:52:46 +01:00
xml