diff options
Diffstat (limited to 'reportbuilder')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java index 163818cf0aa4..d8f7cd8f9ead 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java @@ -124,18 +124,14 @@ public class SpreadsheetRawReportTarget extends OfficeDocumentReportTarget { return 0; } - if (arg0 instanceof ColumnBoundary) + if (boundary > arg0.boundary) { - if (boundary > arg0.boundary) - { - return 1; - } - else - { - return -1; - } + return 1; + } + else + { + return -1; } - return 1; } public boolean equals(final Object obj) |