dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #01656
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 511: Fixed a deprecation issue.
------------------------------------------------------------
revno: 511
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Wed 2009-08-26 15:57:16 +0200
message:
Fixed a deprecation issue.
modified:
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/tallysheet/DefaultTallySheetPdfService.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/tallysheet/DefaultTallySheetPdfService.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/tallysheet/DefaultTallySheetPdfService.java 2009-08-21 16:44:05 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/tallysheet/DefaultTallySheetPdfService.java 2009-08-26 13:57:16 +0000
@@ -132,7 +132,7 @@
throws DocumentException
{
Font tableFont = new Font( Font.HELVETICA, 8 );
- double a4Multiplier = (PageSize.A3.width() / PageSize.A4.width()) * 1.1;
+ double a4Multiplier = ( PageSize.A3.getWidth() / PageSize.A4.getWidth() ) * 1.1;
float[] widths = { 0.2f, 0.55f, 0.05f };
if ( !a3Format )