diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-18 11:03:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 08:23:30 +0200 |
commit | 46540d08b16f0e2e663734506cc072fe868ece82 (patch) | |
tree | baca7dfe2e192ef2dd986cb641a45051f0612fb3 /wizards/com/sun/star/wizards/report/ReportTextDocument.java | |
parent | java: remove dead stylemapper code in reportbuilder (diff) | |
download | core-46540d08b16f0e2e663734506cc072fe868ece82.tar.gz core-46540d08b16f0e2e663734506cc072fe868ece82.zip |
java: these fields can become local variables
found by PMD
Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
Diffstat (limited to 'wizards/com/sun/star/wizards/report/ReportTextDocument.java')
-rw-r--r-- | wizards/com/sun/star/wizards/report/ReportTextDocument.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java index 9fb9ef678bf5..ec6120936b53 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java +++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java @@ -63,7 +63,6 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen private TextStyleHandler oTextStyleHandler; public TextFieldHandler oTextFieldHandler; public ViewHandler oViewHandler; - private NumberFormatter oNumberFormatter; public static final String TBLRECORDSECTION = "Tbl_RecordSection"; public static final String TBLGROUPSECTION = "Tbl_GroupField"; public static final String RECORDSECTION = "RecordSection"; @@ -96,7 +95,7 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen oViewHandler = new ViewHandler(xTextDocument); oTextFieldHandler = new TextFieldHandler(xMSFDoc, xTextDocument); DBColumnsVector = new java.util.ArrayList<DBColumn>(); - oNumberFormatter = oTextTableHandler.getNumberFormatter(); + NumberFormatter oNumberFormatter = oTextTableHandler.getNumberFormatter(); CurDBMetaData = _aRecordParser; long lDateCorrection = oNumberFormatter.getNullDateCorrection(); oNumberFormatter.setBooleanReportDisplayNumberFormat(); |