[jasper-library-upgrade] String parameter retrieval for xls configuration also
authorCarlos Aristu <carlos.aristu@openbravo.com>
Thu, 21 May 2015 11:15:48 +0200
changeset 26759 30ce2d42cf6d
parent 26758 6f7b69ae53ca
child 26760 51e873022c10
[jasper-library-upgrade] String parameter retrieval for xls configuration also
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java	Thu May 21 11:12:40 2015 +0200
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java	Thu May 21 11:15:48 2015 +0200
@@ -663,6 +663,8 @@
       String parameter;
       if (key instanceof net.sf.jasperreports.engine.JRExporterParameter) {
         parameter = ((net.sf.jasperreports.engine.JRExporterParameter) key).toString();
+      } else if (key instanceof String) {
+        parameter = (String) key;
       } else {
         parameter = "";
       }