aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2017-09-16 08:28:38 +0000
committerDominik Stadler <centic@apache.org>2017-09-16 08:28:38 +0000
commit399381da8df5e6926bbc4cc4a51b3d0723c4a6c7 (patch)
treeafd5a45d5c70298ce70681e7d4f3277457eccb4e /src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java
parent0cfa1ede4cbc9c00d2f5d3946ae9f57a6dd74d48 (diff)
downloadpoi-399381da8df5e6926bbc4cc4a51b3d0723c4a6c7.tar.gz
poi-399381da8df5e6926bbc4cc4a51b3d0723c4a6c7.zip
Remove unnecessary local variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java')
-rw-r--r--src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java
index cb1d089125..dfcbe56c54 100644
--- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java
+++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java
@@ -1378,9 +1378,8 @@ public class XWPFParagraph implements IBodyElement, IRunBody, ISDTContents, Para
* a new instance.
*/
private CTPPr getCTPPr() {
- CTPPr pr = paragraph.getPPr() == null ? paragraph.addNewPPr()
+ return paragraph.getPPr() == null ? paragraph.addNewPPr()
: paragraph.getPPr();
- return pr;
}