[jasper-library-upgrade] use constant
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 22 May 2015 11:19:25 +0200
changeset 26762 6ade5c818884
parent 26761 b4a29c1c6c4f
child 26763 ac68a43ce656
[jasper-library-upgrade] use constant
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 19:06:52 2015 +0200
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java	Fri May 22 11:19:25 2015 +0200
@@ -733,7 +733,7 @@
       } else {
         parameter = "";
       }
-      if (parameter.equals("Images URI")) {
+      if (parameter.equals(IMAGES_URI)) {
         exporterOutput.setImageHandler(new WebHtmlResourceHandler((String) pair.getValue()));
       } else if (parameter.equals("Is Remove Empty Space Between Rows")) {
         configuration.setRemoveEmptySpaceBetweenRows((Boolean) pair.getValue());