]> source.dussan.org Git - poi.git/commit
Fix 60384 and 60709: When shifting with merged regions we should correctly check...
authorDominik Stadler <centic@apache.org>
Sat, 19 Aug 2017 16:31:45 +0000 (16:31 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 19 Aug 2017 16:31:45 +0000 (16:31 +0000)
commit8f8f41a7c24b53667e71b20a131864958df1c664
treee8cc2833125c065c320f0a80a6acb5781b2275fe
parentc364f2ce2466d52fae2aaa562b51bf7ff39e1f93
Fix 60384 and 60709: When shifting with merged regions we should correctly check if the region is moved along or needs to be removed because it is not fully kept via the shifting. This was broken by the fix for bug 59740, now additional unit tests ensure that it works better.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805518 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/ss/usermodel/helpers/RowShifter.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetShiftRows.java
src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java
test-data/spreadsheet/60384.xlsx [new file with mode: 0644]
test-data/spreadsheet/60709.xlsx [new file with mode: 0644]