summaryrefslogtreecommitdiff
path: root/libvisio/libvisio-0.0.17-fdo48601_part1.patch
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-06-22 12:08:34 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-25 13:45:29 +0200
commit4a6b4b93173e5c354f315ff85afa6ffa8ee1774a (patch)
tree247810eff620ecc5148a540853eb530e1761cca9 /libvisio/libvisio-0.0.17-fdo48601_part1.patch
parentd122b0f592aaa8af00695109ce2a71f6d8807a96 (diff)
Uploading libvisio 0.0.18, fixing fdo#48602
Change-Id: I8ab9462409bf5e0769d043209a8e2005bfdf4e0a Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'libvisio/libvisio-0.0.17-fdo48601_part1.patch')
-rw-r--r--libvisio/libvisio-0.0.17-fdo48601_part1.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/libvisio/libvisio-0.0.17-fdo48601_part1.patch b/libvisio/libvisio-0.0.17-fdo48601_part1.patch
deleted file mode 100644
index c73af00dbfb5..000000000000
--- a/libvisio/libvisio-0.0.17-fdo48601_part1.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- misc/build/libvisio-0.0.17/src/lib/VSDXContentCollector.cpp 2012-06-16 13:41:40.583153038 +0200
-+++ misc/libvisio-0.0.17/src/lib/VSDXContentCollector.cpp 2012-06-16 13:44:16.311155881 +0200
-@@ -1131,14 +1131,16 @@
- if (x <= m_pageWidth && x >= 0)
- points[x] = y;
-
-- xmove = points.begin()->first;
-- ymove = points.begin()->second;
-- for (std::map<double, double>::iterator iter = points.begin(); iter != points.end(); ++iter)
-- {
-- if (iter->first != xmove || iter->second != ymove)
-+ if (!points.empty()) {
-+ xmove = points.begin()->first;
-+ ymove = points.begin()->second;
-+ for (std::map<double, double>::iterator iter = points.begin(); iter != points.end(); ++iter)
- {
-- xline = iter->first;
-- yline = iter->second;
-+ if (iter->first != xmove || iter->second != ymove)
-+ {
-+ xline = iter->first;
-+ yline = iter->second;
-+ }
- }
- }
- }