diff options
Diffstat (limited to 'src/java/org/apache/fop/render/awt')
-rw-r--r-- | src/java/org/apache/fop/render/awt/viewer/PreviewPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/awt/viewer/PreviewPanel.java b/src/java/org/apache/fop/render/awt/viewer/PreviewPanel.java index c850c35e7..ab5d78a64 100644 --- a/src/java/org/apache/fop/render/awt/viewer/PreviewPanel.java +++ b/src/java/org/apache/fop/render/awt/viewer/PreviewPanel.java @@ -399,7 +399,7 @@ public class PreviewPanel extends JPanel { int value = +e.getValue(); int min = a.getMinimum(); int max = a.getMaximum(); - int page = ( (renderer.getNumberOfPages() * value) / (max - min) ); + int page = ((renderer.getNumberOfPages() * value) / (max - min)); if (page != currentPage) { int oldPage = currentPage; currentPage = page; |