diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2016-03-16 22:10:27 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2016-03-16 22:10:27 +0000 |
commit | 5499c36019fb445253800404ea850ce64c658651 (patch) | |
tree | d87476f62656e384f9f6212b519837fe777bfeaf /src/java/org/apache/poi/sl | |
parent | e6a96fd11d16bbadf9e2025cda713bf3b0ebae1f (diff) | |
download | poi-5499c36019fb445253800404ea850ce64c658651.tar.gz poi-5499c36019fb445253800404ea850ce64c658651.zip |
findbugs fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/sl')
-rw-r--r-- | src/java/org/apache/poi/sl/draw/DrawTextParagraph.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java b/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java index 7b28bde582..1ffa3cb94c 100644 --- a/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java +++ b/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java @@ -122,11 +122,11 @@ public class DrawTextParagraph implements Drawable { Double leftMargin = paragraph.getLeftMargin();
if (leftMargin == null) {
// if the marL attribute is omitted, then a value of 347663 is implied
- leftMargin = Units.toPoints(347663*indentLevel);
+ leftMargin = Units.toPoints(347663L*indentLevel);
}
Double indent = paragraph.getIndent();
if (indent == null) {
- indent = Units.toPoints(347663*indentLevel);
+ indent = Units.toPoints(347663L*indentLevel);
}
if (isHSLF()) {
// special handling for HSLF
|