libvisio/libvisio-0.0.17.patch |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

New commits:
commit 2251e2185a6133904760fc34649ea72be170ef70
Author: Fridrich Å trba <fridrich.st...@bluewin.ch>
Date:   Tue Jun 12 14:35:02 2012 +0200

    Don't push_back(.back()), stupid
    
    Change-Id: I91ed2c018218c68665471be146dc82f9dbfd34ad
    Signed-off-by: Fridrich Å trba <fridrich.st...@bluewin.ch>

diff --git a/libvisio/libvisio-0.0.17.patch b/libvisio/libvisio-0.0.17.patch
index c2b1309..e998634 100644
--- a/libvisio/libvisio-0.0.17.patch
+++ b/libvisio/libvisio-0.0.17.patch
@@ -1,6 +1,18 @@
 --- misc/libvisio-0.0.17/src/lib/VSDXContentCollector.cpp      2012-05-31 
15:14:42.000000000 +0200
 +++ misc/build/libvisio-0.0.17/src/lib/VSDXContentCollector.cpp        
2012-06-09 00:08:24.139051461 +0200
-@@ -2059,7 +2059,11 @@
+@@ -1429,7 +1429,10 @@ void 
libvisio::VSDXContentCollector::collectNURBSTo(unsigned /* id */, unsigned
+ 
+   // Fill in end knots
+   while (knotVector.size() < (controlPoints.size() + degree + 2))
+-    knotVector.push_back(knotVector.back());
++  {
++    double tmpBack = knotVector.back();
++    knotVector.push_back(tmpBack);
++  }
+ 
+   // Convert control points to static co-ordinates
+   for (std::vector<std::pair<double, double> >::iterator it = 
controlPoints.begin();
+@@ -2059,7 +2062,11 @@
  
  void libvisio::VSDXContentCollector::_convertDataToString(WPXString &result, 
const WPXBinaryData &data, TextFormat format)
  {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to