Rename ValueBase::same_as() to ValueBase::same_type_as(), since it compares types...
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / booleancurve.cpp
index 936187b..3c2c155 100644 (file)
@@ -1,8 +1,8 @@
 /* === S Y N F I G ========================================================= */
-/*!    \file boolean_curve.cpp
+/*!    \file booleancurve.cpp
 **     \brief Boolean Curve Implementation File
 **
-**     $Id: booleancurve.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -68,7 +68,7 @@ BooleanCurve::~BooleanCurve()
 
 bool BooleanCurve::set_param(const String & param, const synfig::ValueBase &value)
 {
-       if(param=="regions" && value.same_as(regions))
+       if(param=="regions" && value.same_type_as(regions))
        {
                vector<BLinePoint> bv;
                int size = value.get_list().size();