[Libreoffice-commits] .: Branch 'libreoffice-3-6' - libvisio/libvisio-0.0.17.patch

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Jun 12 05:36:22 PDT 2012


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

New commits:
commit 2251e2185a6133904760fc34649ea72be170ef70
Author: Fridrich Å trba <fridrich.strba at 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.strba at 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)
  {


More information about the Libreoffice-commits mailing list