diff options
author | Dominik Stadler <centic@apache.org> | 2017-11-23 18:54:11 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-11-23 18:54:11 +0000 |
commit | db15fe777835edf1ee6e12cb682618c85d7b05d3 (patch) | |
tree | 8c2c2d52a72ff0af46f618e3a37d0e3574ab13bf /src/ooxml/java/org/apache/poi/xssf/usermodel/helpers | |
parent | e93f78cd13fabed6ed0e2cf4a6bae07ed526b3e7 (diff) | |
download | poi-db15fe777835edf1ee6e12cb682618c85d7b05d3.tar.gz poi-db15fe777835edf1ee6e12cb682618c85d7b05d3.zip |
Change order of handling shape-types in copy() as FreeFormShape derives from AutoShape and thus would have not been copied correctly currently
Fix some Javadoc, some warnings and code duplications
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1816185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/xssf/usermodel/helpers')
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowColShifter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowColShifter.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowColShifter.java index 50ed79313f..1656a6f878 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowColShifter.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowColShifter.java @@ -96,7 +96,7 @@ import java.util.List; * @param formulaShifter the formula shifting policy */ /*package*/ static void updateRowFormulas(XSSFRow row, FormulaShifter formulaShifter) { - XSSFSheet sheet = (XSSFSheet) row.getSheet(); + XSSFSheet sheet = row.getSheet(); for (Cell c : row) { XSSFCell cell = (XSSFCell) c; |