diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-30 17:07:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-30 21:38:42 +0200 |
commit | 31d0b43edfc304b7d69adb49ab8e5892726ed0cb (patch) | |
tree | c125a21e83249229e22510905262b9370226eaed /sc/source | |
parent | 03e108f27b91dddc8fabc6f52f18afd6aac8666a (diff) |
make this more readable
Change-Id: I031054d3a6929c48b796ce527448d2c5a5099a8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121319
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/lotus/op.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx index b245e0f04987..4f9ed6e2679b 100644 --- a/sc/source/filter/lotus/op.cxx +++ b/sc/source/filter/lotus/op.cxx @@ -244,7 +244,7 @@ void OP_SymphNamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/) r.ReadUInt16( nColSt ).ReadUInt16( nRowSt ).ReadUInt16( nColEnd ).ReadUInt16( nRowEnd ).ReadUChar( nType ); - if (!(rContext.rDoc.ValidColRow( static_cast<SCCOL>(nColSt), nRowSt) && rContext.rDoc.ValidColRow( static_cast<SCCOL>(nColEnd), nRowEnd))) + if (!rContext.rDoc.ValidColRow(static_cast<SCCOL>(nColSt), nRowSt) || !rContext.rDoc.ValidColRow(static_cast<SCCOL>(nColEnd), nRowEnd)) return; std::unique_ptr<LotusRange> pRange; |