[Kst] extragear/graphics/kst/kst/extensions/js

George Staikos staikos at kde.org
Fri Dec 16 15:58:43 CET 2005


SVN commit 488941 by staikos:

of course... that's why it throws.  I hadn't set nothrow


 M  +2 -2      bind_curvecollection.cpp  


--- trunk/extragear/graphics/kst/kst/extensions/js/bind_curvecollection.cpp #488940:488941
@@ -193,7 +193,7 @@
       return KJS::Undefined();
     }
 
-    KstVCurvePtr c = extractVCurve(exec, args[0]);
+    KstVCurvePtr c = extractVCurve(exec, args[0], false);
     if (c) {
       KstWriteLocker rl(p);
       if (p->Curves.contains(c.data())) {
@@ -218,7 +218,7 @@
     }
     return KJS::Undefined();
   } else if (_legend) {
-    KstVCurvePtr c = extractVCurve(exec, args[0]);
+    KstVCurvePtr c = extractVCurve(exec, args[0], false);
     if (!c) {
       unsigned i = 0;
       if (args[0].type() == KJS::NumberType && args[0].toUInt32(i)) {


More information about the Kst mailing list