summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/convwatch/BorderRemover.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/convwatch/BorderRemover.java b/qadevOOo/runner/convwatch/BorderRemover.java
index 09cc785d43f0..87ba90a42456 100644
--- a/qadevOOo/runner/convwatch/BorderRemover.java
+++ b/qadevOOo/runner/convwatch/BorderRemover.java
@@ -77,7 +77,7 @@ class BorderRemover
}
// calculate tolerance halve
- double nTolerable = (_nTolerance * 256 / 100);
+ int nTolerable = (int) (_nTolerance * 256.0 / 100.0);
if (nTolerable < 0)
{
nTolerable = 0;