fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / jfreereport / patches / libformula-minutes_truncation.patch.1
blob0df98db9401681accbdd42584dfa9fc2c15e0f23
1 Seulement dans jfreereport_libformula: bin
2 Seulement dans jfreereport_libformula: build.log
3 Seulement dans jfreereport_libformula: dist
4 diff -ur jfreereport_libformula.org/source/org/pentaho/reporting/libraries/formula/function/datetime/MinuteFunction.java jfreereport_libformula/source/org/pentaho/reporting/libraries/formula/function/datetime/MinuteFunction.java
5 --- jfreereport_libformula.org/source/org/pentaho/reporting/libraries/formula/function/datetime/MinuteFunction.java     2015-07-13 15:55:31.752539618 +0200
6 +++ jfreereport_libformula/source/org/pentaho/reporting/libraries/formula/function/datetime/MinuteFunction.java 2015-07-13 15:56:27.084394065 +0200
7 @@ -74,7 +74,7 @@
8      
9      // Multiply the minutes with 60 to get the minutes as ints 
10      final BigDecimal minutes = minutesFraction.multiply(MINUTES);
11 -    final BigDecimal minutesAsInt = minutes.setScale(0, BigDecimal.ROUND_HALF_UP);
12 +    final BigDecimal minutesAsInt = NumberUtil.performIntRounding(minutes);
13      return new TypeValuePair(NumberType.GENERIC_NUMBER, minutesAsInt);
14    }
16 \ Pas de fin de ligne à la fin du fichier