diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-02-27 06:54:28 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-02-27 07:01:12 +0100 |
commit | 8b66c00a0c87f81ecb78b27dbf0a6ded6e94a048 (patch) | |
tree | df0d50f8f827aea61cad73a231154baa4c19670f /xmloff | |
parent | cb9e5e786beef004aedf6d6cc7dbd989bd6a05be (diff) |
janitorial: simplify test expression without semantics change
The "sComposerFilter != m_sRowSetFilter" could not influence the result.
Proof.
The right hand-side of the || is evaluated only when m_sRowSetFilter.isEmpty()
So the only case where the removed test could have an influence is when
m_sRowSetFilter.isEmpty().
However, the right hand-side of the && is evaluated only when !sComposerFilter.isEmpty().
We have m_sRowSetFilter.isEmpty() and !sComposerFilter.isEmpty().
In particular, (sComposerFilter != m_sRowSetFilter) is true.
Qed.
Change-Id: I1484d78cf2d7a5e8ca44f382eb7c440c84d8c10e
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions