summaryrefslogtreecommitdiff
path: root/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java')
-rw-r--r--reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java b/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java
index 899e740d6373..26eb4950e248 100644
--- a/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java
+++ b/reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java
@@ -94,7 +94,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
return false;
}
final RowSetProperties other = (RowSetProperties) obj;
- if (this.escapeProcessing != other.escapeProcessing && (this.escapeProcessing == null || !this.escapeProcessing.equals(other.escapeProcessing)))
+ if ((this.escapeProcessing == null) ? (other.escapeProcessing != null) : !this.escapeProcessing.equals(other.escapeProcessing))
{
return false;
}
@@ -102,7 +102,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
{
return false;
}
- if (this.maxRows != other.maxRows && (this.maxRows == null || !this.maxRows.equals(other.maxRows)))
+ if ((this.maxRows == null) ? (other.maxRows != null) : !this.maxRows.equals(other.maxRows))
{
return false;
}