summaryrefslogtreecommitdiffstats
path: root/wizards/com/sun/star/wizards/report/ReportTextDocument.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-18 11:03:04 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 08:23:30 +0200
commit46540d08b16f0e2e663734506cc072fe868ece82 (patch)
treebaca7dfe2e192ef2dd986cb641a45051f0612fb3 /wizards/com/sun/star/wizards/report/ReportTextDocument.java
parentjava: remove dead stylemapper code in reportbuilder (diff)
downloadcore-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.java3
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();