[Libreoffice-commits] libvisio.git: src/lib
David Tardon
dtardon at redhat.com
Wed Jul 10 01:26:26 PDT 2013
src/lib/VSDContentCollector.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d8e22ac854217d647753c2f5c4943e167f45b6be
Author: David Tardon <dtardon at redhat.com>
Date: Wed Jul 10 10:26:02 2013 +0200
fix condition
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index d6f55f1..b5bb7d4 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -1527,7 +1527,7 @@ bool libvisio::VSDContentCollector::_isUniform(const std::vector<double> weights
double previousValue = weights[0];
for (std::vector<double>::size_type i = 0; i < weights.size(); ++i)
{
- if (fabs(weights[i] - previousValue < LIBVISIO_EPSILON))
+ if (fabs(weights[i] - previousValue) < LIBVISIO_EPSILON)
previousValue = weights[i];
else
return false;
More information about the Libreoffice-commits
mailing list