]> source.dussan.org Git - poi.git/commit
#63264 Conditional Format rule evaluation calculates relative references incorrectly
authorGreg Woolsey <gwoolsey@apache.org>
Sat, 16 Mar 2019 00:27:13 +0000 (00:27 +0000)
committerGreg Woolsey <gwoolsey@apache.org>
Sat, 16 Mar 2019 00:27:13 +0000 (00:27 +0000)
commit8225326b568a9ddf79978c63c7a10dbeae1626b2
treeb030604c131d15bd919fd4d5293ac086c6d458a4
parent126606c838dcba5d937de565661bd464abdbaab4
#63264 Conditional Format rule evaluation calculates relative references incorrectly

Fixing the offset calculation and passing the top-left-most region rather than the region matching the current cell fixed these cases.  I've augmented unit tests to check for them to avoid future regressions.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855619 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/ss/formula/EvaluationConditionalFormatRule.java
src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
src/ooxml/testcases/org/apache/poi/ss/usermodel/ConditionalFormattingEvalTest.java