diff options
author | Armin Le Grand (Allotropia) <armin.le.grand@me.com> | 2021-06-10 17:07:10 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2021-06-11 09:40:32 +0200 |
commit | 5c3ad59612697cf0afee0f836e9ee77f0920356b (patch) | |
tree | de89d2ec1996a944d42f7019a37d12a5d133e45e /include/svx | |
parent | d4a478af9cb3154ca1a2179240750865ee3ede91 (diff) |
tdf#130428 remove unnecessary usage of SfxItemState::UNKNOWN
In this case SfxItemState::UNKNOWN was used as boolean
state to decide to keep extracted value or replace. First
method even throws an exception when SfxItemState::UNKNOWN
should happen.
I tried to be very careful in changing these methods, so
another look/check from reviewers will be welcome. I think
that code was unnecessarily complicated, too, butz hope to
not have touched semantics (behaviour) at all
Change-Id: Id213fedcafcfb655749caf2659f9a15b240ec27d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116999
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/svx')
0 files changed, 0 insertions, 0 deletions